Skip to content

fix(graphql): restore deprecated changeWithParent field - #1875

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/graphql-restore-change-with-parent
Open

fix(graphql): restore deprecated changeWithParent field#1875
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/graphql-restore-change-with-parent

Conversation

@sentry

@sentry sentry Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR restores the changeWithParent field on the Comparison GraphQL type. An external client was encountering a GraphQLError because this field was removed in April 2023 (commit 503dce5) during a cleanup of unused resolvers.

To maintain backward compatibility and unblock the affected client, the changeWithParent field has been re-added to the schema, marked as @deprecated(reason: "Use changeCoverage"). It aliases the existing resolve_change_coverage resolver, ensuring it provides the same functionality as before its removal. This approach resolves the immediate error while still signaling to clients that they should transition to changeCoverage.

Legal Boilerplate

Look, I get it. The entity doing business as "Codecov" is owned by Harness, Inc. In 2026 Harness acquired Codecov and as a result Harness is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Harness can use, modify, copy, and redistribute my contributions, under Harness's choice of terms.

Fixes API-ESN

@codecov-notifications

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.83%. Comparing base (d8942db) to head (4f39207).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1875   +/-   ##
=======================================
  Coverage   91.83%   91.83%           
=======================================
  Files        1332     1332           
  Lines       51830    51831    +1     
  Branches     1647     1647           
=======================================
+ Hits        47598    47599    +1     
  Misses       3911     3911           
  Partials      321      321           
Flag Coverage Δ
apiunit 94.75% <100.00%> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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.

0 participants