Skip to content

Send operationName for GraphQL queries#1021

Merged
ogenstad merged 1 commit into
developfrom
pog-operation-name
Jun 3, 2026
Merged

Send operationName for GraphQL queries#1021
ogenstad merged 1 commit into
developfrom
pog-operation-name

Conversation

@ogenstad

@ogenstad ogenstad commented May 13, 2026

Copy link
Copy Markdown
Contributor

Why

Fatih requested to have the operationName sent by the SDK as it's useful for the observability stack when tracking individual requests, for example to troubleshoot long running generators

What changed

  • Various updates to send a operationName key in the payload

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 13, 2026

Copy link
Copy Markdown

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef52939
Status: ✅  Deploy successful!
Preview URL: https://80c34fc4.infrahub-sdk-python.pages.dev
Branch Preview URL: https://pog-operation-name.infrahub-sdk-python.pages.dev

View logs

@github-actions github-actions Bot added the type/documentation Improvements or additions to documentation label May 13, 2026
@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
infrahub_sdk/graphql/multipart.py 66.66% 1 Missing and 1 partial ⚠️
@@             Coverage Diff             @@
##           develop    #1021      +/-   ##
===========================================
- Coverage    81.71%   81.70%   -0.01%     
===========================================
  Files          135      135              
  Lines        11637    11632       -5     
  Branches      1759     1762       +3     
===========================================
- Hits          9509     9504       -5     
  Misses        1576     1576              
  Partials       552      552              
Flag Coverage Δ
integration-tests 41.59% <64.28%> (-0.05%) ⬇️
python-3.10 55.11% <78.57%> (-0.01%) ⬇️
python-3.11 55.11% <78.57%> (-0.01%) ⬇️
python-3.12 55.11% <78.57%> (-0.01%) ⬇️
python-3.13 55.11% <78.57%> (-0.02%) ⬇️
python-3.14 55.11% <78.57%> (-0.02%) ⬇️
python-filler-3.12 22.36% <7.14%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
infrahub_sdk/branch.py 68.75% <100.00%> (ø)
infrahub_sdk/client.py 74.67% <100.00%> (+0.09%) ⬆️
infrahub_sdk/graphql/multipart.py 90.90% <66.66%> (-9.10%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ogenstad ogenstad force-pushed the pog-operation-name branch from fe04032 to ef52939 Compare June 3, 2026 07:50
@ogenstad ogenstad marked this pull request as ready for review June 3, 2026 08:29
@ogenstad ogenstad requested a review from a team as a code owner June 3, 2026 08:29
@ogenstad ogenstad requested a review from fatih-acar June 3, 2026 08:29
@ogenstad ogenstad merged commit 2ae7dc1 into develop Jun 3, 2026
20 checks passed
@ogenstad ogenstad deleted the pog-operation-name branch June 3, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants