Skip to content

Remove unused GraphQL operations#6687

Merged
lkostrowski merged 3 commits into
mainfrom
lkostrowski/remove-unused-graphql-ops
Jun 29, 2026
Merged

Remove unused GraphQL operations#6687
lkostrowski merged 3 commits into
mainfrom
lkostrowski/remove-unused-graphql-ops

Conversation

@lkostrowski

Copy link
Copy Markdown
Member

Remove operations with no usages across the codebase:

  • GiftCardProductsCount query (giftCards)
  • GridWarehouses query (products)
  • BulkDeleteShippingRate mutation (shipping)
  • UserPassowrdChange mutation (staff)
  • SetRefundReasonType + ClearRefundReasonType mutations (refundsSettings, deleting the now-empty mutations.ts)

Regenerated GraphQL types/hooks accordingly.

Scope of the change

  • I confirm I added ripples for changes (see src/ripples) or my feature doesn't contain any user-facing changes
  • I used analytics "trackEvent" for important events

Remove operations with no usages across the codebase:
- GiftCardProductsCount query (giftCards)
- GridWarehouses query (products)
- BulkDeleteShippingRate mutation (shipping)
- UserPassowrdChange mutation (staff)
- SetRefundReasonType + ClearRefundReasonType mutations (refundsSettings,
  deleting the now-empty mutations.ts)

Regenerated GraphQL types/hooks accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lkostrowski lkostrowski requested review from a team and mirekm June 29, 2026 10:33
@changeset-bot

changeset-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f9ee62e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.59%. Comparing base (425dc70) to head (8aeac15).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #6687    +/-   ##
========================================
  Coverage   51.58%   51.59%            
========================================
  Files        2835     2835            
  Lines       51003    51003            
  Branches    12072    12072            
========================================
+ Hits        26311    26316     +5     
- Misses      23386    24282   +896     
+ Partials     1306      405   -901     
Flag Coverage Δ
storybook 49.27% <ø> (+0.03%) ⬆️
units 46.46% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lkostrowski lkostrowski added the skip changeset Use if your changes doesn't need entry in changelog label Jun 29, 2026
@lkostrowski lkostrowski enabled auto-merge (squash) June 29, 2026 11:04
@lkostrowski lkostrowski merged commit c4733d9 into main Jun 29, 2026
18 checks passed
@lkostrowski lkostrowski deleted the lkostrowski/remove-unused-graphql-ops branch June 29, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changeset Use if your changes doesn't need entry in changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants