Skip to content

[Bug]: Antigravity quota refresh failure — investigate missing canonical Fake-IP handling #3781

Description

@jaychou0642-create

Canonical quota transport landed; field acceptance remains open

#3799 (f7bc920051) supplies fixed-destination canonical proof and aligns Antigravity quota fallback transport. Authenticated TUN/Fake-IP observation and safe user-facing failure categorization remain outstanding; this is not a claim that the reporter's full scenario was verified.

Verified against dev 5759d9ea2f1e7281cdc01eb9628f2e0a123fb59c. Original report by @jaychou0642-create. The attribution record was added in #3811.

Problem

The Google Antigravity Accounts page can display “额度刷新失败” (Quota refresh failed) and “速率限制数据暂时不可用” (Rate-limit data temporarily unavailable) after clicking Refresh quota.

Code-level investigation

In the 2.43.0 implementation, fetchAntigravityUsageQuota() in src/providers/quota.ts calls providerOutboundPost() for the fixed Google retrieveUserQuotaSummary and fetchAvailableModels URLs. Its outbound dependencies default to an empty object.

In src/lib/provider-outbound.ts, the transparent Fake-IP exception requires an isCanonicalUrl proof when there is no explicit outbound proxy. Model discovery supplies such a proof, but the quota path appears not to.

This suggests a compatibility gap worth testing: quota probes may reject Fake-IP DNS answers even where model discovery supports transparent proxying. This is a hypothesis from source inspection, not a confirmed end-to-end root cause.

Expected behavior

  • Test quota probing with Fake-IP DNS and no explicit HTTP proxy.
  • If needed, provide a narrowly scoped canonical-destination proof for the fixed Google quota URLs.
  • Preserve TLS verification, redirect restrictions, and rejection of unrelated private or metadata destinations.
  • Surface a safe error category for failed quota probes instead of only the generic unavailable message.

No authenticated upstream response or verified workaround is included in this report.

Activity

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

    account-poolOAuth, credentials, Codex pool, quota, failover, plansbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions