Repository navigation
feat(antigravity): show account membership tier badge (carry #5932) - #7157
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing: 1
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
|
Maintainer integration into
|
Summary
9b6e14d359cebb1c3fdd016bcc11384c9b2b45bc) onto dev7640a942b35044c974e534b84d5a8049f4a8ae9a. fix(accounts): admit reset Anthropic accounts and report OAuth subscription plans (supersedes #6933) #6953 already supplies plan persistence and account-summary projection, so this carry changes no OAuth parser, token store, or API behavior.free-tier,gemini-pro,gemini-ultra, andstandard-tierliterally in every locale; avoid guessing marketing names from those IDs. Update user documentation and the GUI contract.Co-authored-by: cubebox 58514883+juzijia@users.noreply.github.com
Verification
Every local test/proxy used isolated temporary
OPENCODEX_HOMEandCODEX_HOME; the screenshot proxy ran on port 24392 with fabricated account credentials and plangemini-pro.OPENCODEX_HOME=$(mktemp -d) CODEX_HOME=$(mktemp -d) bun test ./gui/tests/provider-quota-refresh-controls.test.tsx— 13 pass, 0 fail, 79 assertions. Covers four canonical IDs in Chinese, accessible names, absent plans, active state, pause/resume/reauth callbacks and pending controls. The original file on untouched dev passed 12 tests; the new badge test against the original component failed as expected (0 pass, 1 fail).OPENCODEX_HOME=$(mktemp -d) CODEX_HOME=$(mktemp -d) bun run typecheck— exit 0.gui/,OPENCODEX_HOME=$(mktemp -d) CODEX_HOME=$(mktemp -d) bun run lintandbun run lint:i18nwith the same isolation — exit 0 each.OPENCODEX_HOME=$(mktemp -d) CODEX_HOME=$(mktemp -d) bun run build:gui— exit 0 for before and after builds, including GUI TypeScript. Existing bundle-size warning remains.docs-site/,bun install --frozen-lockfilethen isolatedbun run build— exit 0; 577 pages built, 81,200 internal links checked.bun run structure:check,bun run privacy:scan,bun scripts/file-size-ratchet.ts, andgit diff --check origin/dev...HEAD— exit 0 each.OPENCODEX_HOME=$(mktemp -d) CODEX_HOME=$(mktemp -d) node /tmp/shot-carry-5932/smoke.mjs— built-GUI browser checks at 1440px and 390px: badge, accessible name/current state, enabled Pause control and no document horizontal overflow.OCX_TEST_NO_QUEUE=1:bun run test:changedran to completion, selected 0 tests (the diff is GUI/CSS/docs/structure only, outside the root import graph), and exited 1 by its zero-selection guard. Those file-as-data dependents were run explicitly instead:bun testover the 21gui/testsfiles that reference the changed GUI files — 239 pass, 0 fail;bun testovertests/gui/provider-workspace-auth.test.ts, the threetests/ci-workflows/docs-provider-*docs tests,structure-ssot,file-size-ratchetandtest-layout— 206 pass, 0 fail.typecheck, GUIlint/lint:i18n,privacy:scan,structure:checkandbuild:guiexited 0 on the review rerun.Before: unmodified origin/dev build with the seeded account.
After: carry build with the same fixture and the
gemini-probadge.Screenshots use real production GUI builds and playwright-core installed only in external scratch space.
/Applications/Google Chrome.appstalled before initialization on this machine; the captures use the installed Google Chrome Headless Shell 154.0.8037.92 through Playwright'sexecutablePathinstead. Images are committed only onpr-assets.Checklist
Full cross-platform CI: workflow_dispatch run 38713772584, head
7be3dda764dfee6b9e3a6f1fb49d9c593020207e, branchcarry/5932-account-plan-badge; queued when handed off. The original #5932 is closed with a link to this credited carry. No merge was performed.Summary by CodeRabbit