Skip to content

fix(quota): show Antigravity reset times and account verification errors - #44

Merged
rune-gh merged 1 commit into
mainfrom
fix/antigravity-quota-row
Dec 4, 2026
Merged

rune-gh merged 1 commit into
mainfrom
fix/antigravity-quota-row

Conversation

@rune-gh

@rune-gh rune-gh commented Dec 4, 2026

Copy link
Copy Markdown
Owner

What

  • Reset column always "—" for Antigravity. The account table ordered by, and showed the reset of, the first weekly window. For Antigravity that is "Claude and GPT models", which reports no reset time until its quota is used. The table now follows the longest window that has reported a reset (Gemini weekly), and falls back to the old choice when none has.
  • Bare "Read failed" when Google wants an account verified. The recorder stored only HTTP 403. It now appends Google's machine-readable reason code (HTTP 403 VALIDATION_REQUIRED). Only upper-case identifiers are kept, never message text, verification URLs or account data. The panel shows a Verify account badge for that reason.

Tests

  • TestQuotaErrorsKeepGoogleReasonCode: stores status plus reason, rejects non-code reasons.
  • quotaPoolModel.test.ts: ordering follows a weekly window with resets, not an unused one listed first.
  • make verify passes locally.

🤖 Generated with Claude Code

The account table's reset column followed the first weekly window
(Antigravity's "Claude and GPT models"), which reports no reset until it is
used, so every row showed "—". Order accounts by the longest window that
reports a reset instead.

The quota recorder stored only "HTTP 403" when Google asks an account to
verify itself. Keep Google's machine-readable reason code (for example
VALIDATION_REQUIRED, never message text or URLs) and show a "Verify account"
badge for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rune-gh
rune-gh merged commit 3224dae into main Dec 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant