Repository navigation
Conversation
Antigravity reports Argon's separate weekly quota as a "Gemini 4 Argon" group. Its name also says Gemini, so listed first it was taken for the plan's group and Weekly showed Argon's usage; listed later it showed as "Gemini 4 Argon Weekly" after Claude/GPT, only once touched. Keep it out of the plan's group and show it as "Argon Weekly" right after Weekly, the way Claude shows Fable Weekly.
[Low impact] The change stays within Antigravity's usage display. The PR appears safe to merge, with a non-blocking test coverage gap. Findings
SummaryThe collector separates Argon from the Gemini plan quota.
Reviews (1) · Last reviewed commit: "Give Gemini 4 Argon its own weekly line ..." · Reviewed by Greptile |
| read = limits({"groups": [ | ||
| {"displayName": "Gemini 4 Argon", "buckets": [ | ||
| {"bucketId": "gemini-argon-wtu-weekly", "displayName": "Gemini 4 Argon Weekly Limit", "window": "weekly", "resetTime": "2026-09-18T13:15:33Z", "remainingFraction": 0.1}, | ||
| ]}, | ||
| {"displayName": "Claude and GPT models", "buckets": [{"window": "weekly", "remainingFraction": 0.75}]}, | ||
| {"displayName": "Gemini Models", "buckets": [{"window": "weekly", "remainingFraction": 0.5}]}, | ||
| ]}) | ||
| expect("Antigravity collector shows Argon's weekly quota as its own line after Weekly", | ||
| [(entry["label"], round(entry["percent"], 2)) for entry in read], | ||
| [("Weekly (7-day)", 0.5), ("Argon Weekly", 0.9), ("Claude/GPT Weekly", 0.25)], read) |
There was a problem hiding this comment.
Unused Argon quotas go untested
The new test only uses a partly spent Argon quota. It would still pass if the Argon loop kept the old rule that hides unused quotas, although keeping them visible is part of this change. Add a case with remainingFraction: 1.0 and check that Argon Weekly remains present with zero usage.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
Thanks @brdweb. I read the change against The PR does two things, which is why the two readings split:
The payloads captured in #16906 list Related: #16906 reports this Argon omission, but its main symptom is that This is waiting on the maintainer to say whether the PR is a fix or a feature. That decides whether it gets verified on a worker next. |
Antigravity reports Argon's separate weekly quota as a
"Gemini 4 Argon"group. Because its name also contains "gemini", if listed first it was taken for the plan's group (causing Weekly to show Argon's quota instead of Gemini's), and if listed later it showed after Claude/GPT as"Gemini 4 Argon Weekly"only once touched.This keeps Argon out of the plan's group and shows it as
"Argon Weekly"right after"Weekly (7-day)", following the convention used for Claude Code's"Fable Weekly".Includes focused unit test coverage in
test/shell.d/agent-usage-agy-limits-test.sh.