Repository navigation
fix(dashboard): recognize Codex Pro Standard, Extra and Max tiers - #15163
Closed
xiaoyaner0201 wants to merge 3 commits into
Closed
xiaoyaner0201 wants to merge 3 commits into
xiaoyaner0201 wants to merge 3 commits into
Conversation
Owner
|
Thank you for this fix, @xiaoyaner0201! Both this PR and #15197 address #15161 (Codex |
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.
Summary
Fixes #15161.
Recognize Codex's
prolite,pro, andpromaxplan identifiers consistently in provider connection rows and Provider Limits. Display them as Pro Standard, Pro Extra, and Pro Max, following OpenAI's merged naming update, while keeping all three in the existing Pro tier category.Changes
workspacePlanTypeand importedchatgptPlanTypein provider rows; anunknownplaceholder does not hide a usable imported value.No OAuth refresh, provider transport, routing, model entitlement, or quota-enforcement changes. No subscription prices or allowance multipliers are hard-coded. The three branded plan names are retained in their official spelling across locales; no general UI translation keys are added.
Verification
unknownmetadata edge case (separately reproduced as 1 assertion failure before repair).f744f302709728d0ef5e2f4153a9e36dbb0c3287/ treea191cf82fb526df4e7e61eed6eab88174e54719a.Isolated UI smoke
The real provider page was exercised on the final head with a fresh temporary DATA_DIR and synthetic invalid JWT fixtures only:
/dashboard/providers/codexreturned HTTP 200.prolite,pro,promax), includingworkspacePlanType=unknownwith importedpromax→ Pro Max.ConnectionRowand its rendered plan badge.providers-en-workspace-import.pngandproviders-en-unknown-fallback.png(local paths available in the contributor evidence bundle).The quota page returned HTTP 200 during SSR, but client hydration was blocked by the repository's Next/Webpack process exhausting the bounded 8 GB V8 heap. Therefore quota card labels, Pro filter membership, live-first conflict handling, Business/Claude isolation, tooltips, and zh-CN/ar screenshots remain unverified. The failed quota screenshot is retained as failure evidence, not presented as acceptance. The isolated server and port were cleaned up. Keep this PR Draft until the quota UI can be verified.
Full repository tests and release build are not yet verified. Existing strict mutation-test coverage findings were compared against the exact base and have no candidate delta.
Base:
release/v3.8.52ata1a2dce1a64a4b123f80ec899fc88bb2aa34d1a4.