feat: Resolve best seat across orgs for rate limits#1884
Merged
k11kirky merged 3 commits intoMay 1, 2026
Conversation
charlesvien
changed the base branch from
04-20-wizard_integration_and_first_data-less_tasks
to
graphite-base/1884
April 24, 2026 23:17
This was referenced Apr 24, 2026
charlesvien
force-pushed
the
graphite-base/1884
branch
from
April 24, 2026 23:17
e7dcd4a to
de71216
Compare
charlesvien
force-pushed
the
04-24-resolve_best_seat_across_orgs_for_rate_limits
branch
from
April 24, 2026 23:17
65a972f to
5512777
Compare
charlesvien
marked this pull request as ready for review
April 24, 2026 23:18
Contributor
Prompt To Fix All With AIThis is a comment left during a code review.
Path: apps/code/src/shared/types/seat.ts
Line: 20
Comment:
**Unused field added to type**
`organization_name` is added to `SeatData` but is never read in any of the changed files (only `organization_id` is consumed). This violates the simplicity principle of having no superfluous parts. If it's needed for a future feature, it should be added in that PR.
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "Resolve best seat across orgs for rate l..." | Re-trigger Greptile |
k11kirky
force-pushed
the
04-24-resolve_best_seat_across_orgs_for_rate_limits
branch
from
May 1, 2026 10:16
37db95e to
3b9d0e8
Compare
k11kirky
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
Users with a pro plan in one org were getting free-tier rate limits in other orgs because the gateway resolved plans per (user_id, team_id) instead of the user's best plan across all orgs.
Changes
How did you test this?
Manually