Skip to content

Delete orphaned partners-era GraphQL documents#8112

Closed
isaacroldan wants to merge 1 commit into
graphite-base/8112from
partners-cleanup/04-delete-orphaned-graphql
Closed

Delete orphaned partners-era GraphQL documents#8112
isaacroldan wants to merge 1 commit into
graphite-base/8112from
partners-cleanup/04-delete-orphaned-graphql

Conversation

@isaacroldan

@isaacroldan isaacroldan commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

PartnersClient cleanup — 3 of 5.

WHY are these changes introduced?

After shrinking PartnersClient, the GraphQL query/mutation documents its removed methods used are dead.

WHAT is this pull request doing?

Delete 16 orphaned GraphQL files (hand-written query consts + generated typed-documents) and remove their no-inline-graphql knownFailures allowlist entries:

  • app_active_version, app_version_by_tag, create_app, find_app, find_org, find_org_basic, find_store_by_domain, generate_signed_upload_url, subscribe_to_app_logs, template_specifications
  • functions/api_schema_definition, functions/target_schema_definition
  • partners/queries/{all-orgs,dev-stores-by-org}.graphql and their generated partners/generated/{all-orgs,dev-stores-by-org}.ts

Also drops the matching test-double stubs in app.test-data.ts.

How to test your changes?

pnpm nx type-check app + lint pass. Codegen is glob-driven, so removing the query files leaves nothing to regenerate.

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've considered analytics changes to measure impact
  • The change is user-facing — I've identified the correct bump type (patch for bug fixes · minor for new features · major for breaking changes) and added a changeset with pnpm changeset add

isaacroldan commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added the no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users. label Jul 16, 2026
Fourth step of the PartnersClient cleanup. These GraphQL documents were only
used by the PartnersClient methods removed in the previous step, so nothing
imports them anymore. Delete the 12 hand-written query/mutation files, the two
generated partners operations (all-orgs, dev-stores-by-org) with their .graphql
sources, and their no-inline-graphql allowlist entries. Retype the app-logs
subscribe test fixture to the generated document type. No behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@isaacroldan
isaacroldan force-pushed the partners-cleanup/03-shrink-partners-client branch from da9696c to dda8750 Compare July 16, 2026 14:45
@isaacroldan
isaacroldan force-pushed the partners-cleanup/04-delete-orphaned-graphql branch from 95d74aa to 3d33046 Compare July 16, 2026 14:45
@isaacroldan
isaacroldan changed the base branch from partners-cleanup/03-shrink-partners-client to graphite-base/8112 July 16, 2026 15:11
@isaacroldan
isaacroldan marked this pull request as ready for review July 16, 2026 15:53
@isaacroldan
isaacroldan requested a review from a team as a code owner July 16, 2026 15:53
@isaacroldan

Copy link
Copy Markdown
Contributor Author

Folded into #8111 — the file deletions must land in the same PR as the PartnersClient shrink that orphans them (per-PR Knip check).

@isaacroldan
isaacroldan deleted the partners-cleanup/04-delete-orphaned-graphql branch July 16, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR doesn't include a changeset entry. Is an internal only change not relevant to end users.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant