Skip to content

fix(external-agents): match agy's real over-quota error in the antigravity breaker #18179

Open

Description

@kyle-sexton

Problem

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.

Refs #17786

Activity

  1. added
    host-run
    on Nov 22, 2026
  2. added
    needs-triage
    on Nov 22, 2026
  3. github-actions commented on Nov 22, 2026

    @github-actions
    Contributor

    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.

  4. removed
    needs-triage
    on Nov 22, 2026
  5. melodic-automation-lanes commented on Nov 22, 2026

    @melodic-automation-lanes
    Contributor

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    host-run

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions