Skip to content

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Sep 8, 2025

gql 4.0 changed the signature of the execute function which we were patching. Instead of a DocumentNode it now gets a GraphQLRequest (which contains the document attribute with the DocumentNode). This means we need to update the way we're extracting additional data in the event processor.

Copy link

codecov bot commented Sep 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.66%. Comparing base (567a91a) to head (751a6c7).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4779      +/-   ##
==========================================
+ Coverage   84.61%   84.66%   +0.04%     
==========================================
  Files         158      158              
  Lines       16376    16383       +7     
  Branches     2809     2810       +1     
==========================================
+ Hits        13857    13871      +14     
+ Misses       1693     1687       -6     
+ Partials      826      825       -1     
Files with missing lines Coverage Δ
sentry_sdk/integrations/gql.py 84.81% <100.00%> (-1.31%) ⬇️

... and 3 files with indirect coverage changes

@sentrivana sentrivana mentioned this pull request Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant