Skip to content

fix(quota): reset column per Antigravity model group; name trial plans - #43

Open
rune-gh wants to merge 2 commits into
mainfrom
fix/antigravity-quota-columns
Open

rune-gh wants to merge 2 commits into
mainfrom
fix/antigravity-quota-columns

Conversation

@rune-gh

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

Copy link
Copy Markdown
Owner

Summary

  • One reset column per model group. Antigravity reports a weekly window for each model group (Claude and GPT, Gemini), and each group resets on its own schedule. The accounts table only showed the reset for the primary window ("Claude and GPT models weekly reset"). When the windows split into groups, the table now shows a reset column for each group, using that group's longest window. Providers whose windows don't split into groups still get one column.
  • Trial plans are named. A Google AI Pro trial gets no Claude or GPT models from Antigravity: fetchAvailableModels lists them as claude-*-disabled, and retrieveUserQuotaSummary leaves the group out when called with the hub's client version. So the account's Claude and GPT columns were empty with nothing to say why. The recorder (parseAntigravityPlan) and the panel's live read now report the plan as pro-trial ("Pro Trial"), and the account detail shows Google's tier name ("Google AI Pro · Trial"). Antigravity has no plan weights, so routing doesn't change.

Test plan

  • go test ./internal/quotahistory/, go vet, gofmt, go build ./cmd/server
  • make test-web (2260 tests, eslint, tsc, vite build)
  • New tests: resetColumns grouped and ungrouped, the table rendering two reset columns, and trial plan parsing in both Go and the web panel

🤖 Generated with Claude Code

rune-gh and others added 2 commits December 3, 2026 12:36
Antigravity reports a weekly window per model group (Claude and GPT,
Gemini), each resetting on its own clock, but the accounts table showed
only the primary window's reset. Grouped windows now get one reset
column per group, on that group's longest window.

A Google AI Pro trial gets no Claude or GPT models from Antigravity
(fetchAvailableModels lists them as *-disabled and the quota summary
omits the group), so its row had empty Claude and GPT columns with no
explanation. The recorder and the panel's live read now report the plan
as "pro-trial", shown as "Pro Trial". Antigravity has no plan weights,
so routing is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep one reset column per Antigravity model group from this branch, and
use main's ordering window (the longest window that reports a reset) for
the single reset column of ungrouped windows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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