Repository navigation
Conversation
[Medium impact] The PR appears safe to merge. SummaryRestores Gemini quota requests with a fixed, versioned client header.
No actionable issues were found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "Restore Gemini quotas in the Antigravity..." · Reviewed by Greptile |
|
GPT-6 in Codex (reasoning effort not exposed) reviewed the collector, cache handling, request headers, omp integration and competing diffs. Opus 5.5 High and muse-wonder via pi, thinking high, found no remaining source defects in their final review; review independence is not guaranteed. No changes were pushed. On a disposable Omarchy worker, the CLI suite and all 128 assertions across the Antigravity limits, harness, scanner, timestamp and agent-partition tests passed. My separate reproduction produces the wrong plan meters and retains wrongly cached values on the base, passes at e49ffb6, and fails again with the fix reverted. After correcting the worker's PATH, 62 Node-dependent test files passed. The broader suite's four remaining failures—ASCII width, About animation, owner-setup branding and runtime-smoke IPC—also reproduce with both changed files restored from base fee089f. CI is green. The captures show collector-produced fixture records in the running Agents panel: empty Gemini meters before, then 10% session and 85% weekly usage with a separate Argon marker after. Reverting the fix restores the empty meters. These checks use simulated API responses; no authenticated Google quota requests were made. This overlaps #16642, #16912, #16999, #17636, #17825 and #18730. It remains open and is waiting on the maintainer to resolve the competing fixes; #16912 already carries the |
Google leaves the Gemini group out of retrieveUserQuotaSummary for an unversioned client, so a Google AI Pro plan showed no weekly limit. These lines are omacom#19834's own, ahead of its merge, so that merge stays clean.
|
Confirmed on Google AI Ultra (
|
|
Current The older #18730 addresses the same remaining quota bug. Current Omarchy installs GPT-6 in Codex (reasoning effort not exposed) compared the current collector, cache behavior, comments and competing diffs. Opus 5.5 High and muse-wonder via pi, thinking high, both recommended carrying forward #18730 under the rule favoring the older similar fix; reviewer independence is not guaranteed. They differed on whether to retain cache invalidation: the stale fallback reads old values after the freshness interval, which is why I handed it over for consideration. No tests or live Google requests were rerun, and no changes were pushed. This PR remains open, waiting on the maintainer’s choice between the competing fixes. |
Preserve the missing-Gemini model fallback and current tests while excluding Argon from the plan group. Keep installed version probing, floor old or unreadable releases at a compatible version, and prevent the probe from inheriting stdin. Isolate the fake-HTTP tests from installed CLIs. Carry the compatible release, allowance case and cache invalidation from omacom#19834. A failed refresh can retain incorrectly labeled plan meters after their freshness interval; the new namespace stops those values returning as stale data. Co-Authored-By: Nate Ashby <nate.ashby11@gmail.com> Co-Authored-By: GPT-6 in Codex <noreply@openai.com> Co-Authored-By: Opus 5.5 High <noreply@anthropic.com> Co-Authored-By: muse-wonder via pi, thinking high <noreply@meta.com>
|
Superseded by #20916, which delegates to |


What changes
Fixes #16906.
The Agents panel on Omarchy 4.5.0-3 showed 0% used for both Gemini windows while Antigravity CLI 1.5.14 showed 85% of the weekly quota used on Google AI Pro. The stock collector sends an unversioned User-Agent, so Google's quota summary returned only Claude/GPT buckets. The parser used the first group as the Gemini plan when the real group was absent.
This patch sends a known compatible versioned User-Agent without invoking the lazy
agylauncher, recognizes the Gemini plan group explicitly, and invalidates cached limits that could contain mislabeled buckets. Claude/GPT and Argon remain separate allowances. The fixed header works with sign-ins maintained by other harnesses without starting the Antigravity CLI.Verification
Reproduction and live verification on the upstream issue
Screenshots
The collector changes the values displayed by the existing meters. The live before-and-after readings are recorded above.