You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(external-agents): match agy's real over-quota error in the antigravity breaker #18179
The antigravity usage-limit breaker rule in plugins/external-agents/providers/antigravity.yaml matches RESOURCE_EXHAUSTED (#18175). That text is borrowed from Gemini CLI on the same Google backend (google-gemini/gemini-cli#22545); no agy over-quota failure has been captured, and agy's docs name no error text. If agy words it differently, an over-quota run fails every time instead of opening the breaker.
The signed-out auth rule is verified: agy 1.5.14 printed authentication failed or timed out in a live probe on 2026-11-22 (#18175 body).
Done when
The error field (and stderr) of a real agy run that fails over quota is captured: the job folder's stdout.log and stderr.log that external-agents status <job> names.
The usage-limit rule in providers/antigravity.yaml and tests/fixtures/providers/antigravity.yaml matches that text (add it beside RESOURCE_EXHAUSTED, or replace it if the capture shows agy never prints it), with a reset_pattern if the text states a reset time.
The runner test named "a RESOURCE_EXHAUSTED error opens the usage-limit breaker" uses the captured envelope and drops "the wording is judgment" from its name.
Notes
Host-run: it needs an agy account that has actually run out of quota; it cannot be forced without spending it. Whoever sees the failure first takes this.
Size: Small
Complexity: Low
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: the antigravity provider rule, its test fixture and one runner test in external-agents; read by the external-agents breaker.
Reversible: yes; revert the rule and test edits.
Open questions: none
Understood: the antigravity usage-limit rule matches RESOURCE_EXHAUSTED, borrowed from Gemini CLI, and agy's real over-quota text has not been captured. The fix is to capture it from a real over-quota run, add it to the rule and fixture, and update the runner test. The capture needs an agy account that has actually run out of quota, so it is host-run work and not lane-checkable. No duplicate or merged fix found; related context is #17786.
Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Activity
github-actions commentedon Nov 22, 2026
Size: Small
Complexity: Low
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: the antigravity provider rule, its test fixture and one runner test in external-agents; read by the external-agents breaker.
Reversible: yes; revert the rule and test edits.
Open questions: none
Understood: the antigravity usage-limit rule matches RESOURCE_EXHAUSTED, borrowed from Gemini CLI, and agy's real over-quota text has not been captured. The fix is to capture it from a real over-quota run, add it to the rule and fixture, and update the runner test. The capture needs an agy account that has actually run out of quota, so it is host-run work and not lane-checkable. No duplicate or merged fix found; related context is #17786.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 22, 2026
Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).