Skip to content

Narrow token-refresh and account-info client dependencies#8110

Closed
isaacroldan wants to merge 1 commit into
graphite-base/8110from
partners-cleanup/02-narrow-live-consumers
Closed

Narrow token-refresh and account-info client dependencies#8110
isaacroldan wants to merge 1 commit into
graphite-base/8110from
partners-cleanup/02-narrow-live-consumers

Conversation

@isaacroldan

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

How to test your changes?

Post-release steps

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
Second step of the PartnersClient cleanup. createUnauthorizedHandler only uses a small slice of a developer platform client (session and unsafeRefreshToken), but was typed against the whole DeveloperPlatformClient. Narrow it to the minimal Pick subset it consumes so a client that no longer implements the full interface can still be passed. No behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@isaacroldan
isaacroldan force-pushed the partners-cleanup/02-narrow-live-consumers branch from ff7062f to a30cffa Compare July 16, 2026 14:45
@isaacroldan
isaacroldan changed the base branch from partners-cleanup/01-extract-migration-interface to graphite-base/8110 July 16, 2026 15:11
@isaacroldan

Copy link
Copy Markdown
Contributor Author

Folded into #8109 (the token-refresh narrowing now lives alongside the interface extraction as one type-prep step).

@isaacroldan
isaacroldan deleted the partners-cleanup/02-narrow-live-consumers branch July 16, 2026 15:12
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