Repository navigation
Description
What happened
During a normal Antigravity turn (gemini-4-neon), the account hit its 5-hour individual quota. The thread rendered two conflicting notices right next to each other:
- Assistant message from Antigravity:
⚠ Individual quota reached. Please upgrade your subscription to increase your limits. Resets in 2h10m40s.
- Yellow recovery banner directly below it:
Usage limit reached — Reset time unavailable; retry manually
At the same time, Usage → Limits accurately showed Gemini · 5-hour at 0% left with a live reset countdown (1h 53m). Because the banner had no reset time, T3 Code could not display the reset time or schedule auto-resume.
Diagnosis
apps/server/src/provider/acp/AntigravityTurnOutcome.ts recognizes Antigravity 1.5's 429 RESOURCE_EXHAUSTED error header, but its reset-time extractors still only match Antigravity 1.4's unquoted Go map[...] format:
-
watchAntigravityPromptOutcomereads the turn's finalstep_type = 17(ERROR_STEP_TYPE) row from<stateDir>/providers/antigravity/<instance>/antigravity-acp/conversations/<sessionId>.db. -
In Antigravity
1.5.14, that step begins withRESOURCE_EXHAUSTED (code 429): Individual quota reached...followed by a JSON error body containing"reason": "QUOTA_EXHAUSTED","quotaResetTimeStamp": "2026-11-21T16:26:59Z","quotaResetDelay": "2h10m40.817699543s", and"retryDelay": "7840.817699543s". -
QUOTA_EXHAUSTED(/\breason:QUOTA_EXHAUSTED\b/) does not match JSON"reason": "QUOTA_EXHAUSTED", soturnFailurefalls through toSTATUS_ERROR(RESOURCE_EXHAUSTED (code 429): ...), which classifies the failure asclass: "usage_limit"and callsresetAtFrom(text, now). -
resetAtFromchecks only three unquoted Go-map patterns:RESET_TIMESTAMP = /\bquotaResetTimeStamp:([^\s\]]+)/RESET_DELAY = /\bquotaResetDelay:((?:\d+(?:\.\d+)?(?:ns|us|µs|μs|ms|h|m|s))+)(?=[\s\]])/RETRY_DELAY = /\bretryDelay:((?:\d+(?:\.\d+)?(?:ns|us|µs|μs|ms|h|m|s))+)(?=[\s\]])/
None of these match JSON
"key": "value"syntax, soresetAtFromreturnsundefinedandfailure.resetAtis stored asnull/ omitted. -
packages/shared/src/orchestrationV2ThreadError.ts(threadErrorSummary) forwardsusageLimitResetAt: nulltoapps/web/src/components/chat/UsageLimitRecoveryBanner.tsx(usageLimitRecoveryBannerItem), which falls back to"Reset time unavailable; retry manually". -
Usage → Limits still shows the countdown because
apps/server/src/provider/antigravityUsageLimits.tsqueriesv1internal:retrieveUserQuotaSummary/v1internal:fetchAvailableModelsindependently and readsresetTimedirectly from the API.
Verified against main (efea1aab): AntigravityTurnOutcome.ts is unchanged since v0.1.12-nightly.20261121.5038 (9f9ebf61).
Steps to reproduce
- Run T3 Code desktop AppImage (
0.1.12-nightly.20261121.5038) with managed Antigravity ACP1.5.14signed in viaoauth-personal. - Run a thread on
gemini-4-neon(high) until the account exhausts its 5-hour individual quota mid-prompt. - Observe:
- Chat displays
⚠ Individual quota reached... Resets in <duration>. - Usage → Limits shows
0% leftand the live reset countdown. - The Usage limit reached banner below the chat shows
Reset time unavailable; retry manually.
- Chat displays
Version
0.1.12-nightly.20261121.5038 (desktop AppImage with embedded local server; tag v0.1.12-nightly.20261121.5038, commit 9f9ebf61; t3 triage CLI: 0.1.12-nightly.20261121.5038)
Environment
Linux x64 (kernel 7.0.0-44-generic), Node v24.22.1, T3 Code Desktop AppImage against embedded local server, Antigravity ACP 1.5.14 (oauth-personal), model gemini-4-neon (thought_level: high)
Evidence
Persisted error item in <stateDir>/statev2.sqlite (orchestration_v2_projection_turn_items, 2026-11-21T14:16:18Z, no resetAt field):
{
"status": "failed",
"title": "Usage limit reached",
"type": "error",
"failure": {
"class": "usage_limit",
"message": "Individual quota reached. Please upgrade your subscription to increase your limits. Resets in 2h10m40s.",
"code": "RESOURCE_EXHAUSTED",
"retryable": true
}
}Corresponding step_type = 17 row (idx = 524) in Antigravity's native conversation DB (trace/session IDs and headers redacted):
RESOURCE_EXHAUSTED (code 429): Individual quota reached. Please upgrade your subscription to increase your limits. Resets in 2h10m40s.
...
{
"error": {
"code": 429,
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"domain": "cloudcode-pa.googleapis.com",
"metadata": {
"model": "gemini-4-neon-high",
"quotaResetDelay": "2h10m40.817699543s",
"quotaResetTimeStamp": "2026-11-21T16:26:59Z",
"uiMessage": "true"
},
"reason": "QUOTA_EXHAUSTED"
},
{
"@type": "type.googleapis.com/google.rpc.RetryInfo",
"retryDelay": "7840.817699543s"
}
],
"message": "Individual quota reached. Please upgrade your subscription to increase your limits. Resets in 2h10m40s.",
"status": "RESOURCE_EXHAUSTED"
}
}
Related issues
- Antigravity quota hit after a background-task wake marks the run completed and never auto-resumes #40229 (closed as not planned): reported this JSON reset-time parsing gap alongside a separate post-background-wake issue; a maintainer confirmed
failure.resetAtreturnedundefinedinAntigravityTurnOutcome.test.ts, then closed the issue when the wake path could not be reproduced. This report isolates the prompt-time banner/reset-time bug. - Antigravity quota exhaustion (HTTP 429) finishes the turn as completed instead of showing the usage-limit banner #28658 (closed): original Antigravity 1.4.x quota detection (
Go map[...]format). - Open PRs fix(server): Antigravity 1.5 quota errors resume at the reset #39196 and fix(antigravity): extract 1.5 quota reset times so limited threads auto-resume #40244 both update
AntigravityTurnOutcome.tsto parse Antigravity 1.5 JSON quota/reset fields.
Fix applied or workaround
No local fix applied. Workaround: check the reset countdown in the Antigravity quota message or Usage → Limits and retry manually after it resets.
Filed by
Gemini 4 Neon (High) in Antigravity CLI via t3 triage
Activity
marcinsulikowski commentedon Nov 21, 2026
Screenshots:
Reset time unknown in thread:

Reset time known in Usage:

juliusmarminge commentedon Nov 21, 2026
I tried to reproduce this on the current build and could not.
Commit 1458a42 (origin/main). (1) Unit test: added one assertion to the existing 'fails only turns whose own steps end in an upstream error' case in apps/server/src/provider/acp/AntigravityTurnOutcome.test.ts. It feeds an error step in Antigravity 1.5's Google-account format, 'RESOURCE_EXHAUSTED (code 429): Individual quota reached... Resets in 2h10m40s.' followed by the JSON body with "quotaResetTimeStamp", "quotaResetDelay" and "retryDelay", and expects failure.resetAt.
vp test run src/provider/acp/AntigravityTurnOutcome.test.tsfails on main: resetAt is undefined. (2) Real app run:T3CODE_DEV_SEED=0 vp run devwith GOOGLE_GEMINI_BASE_URL pointed at a local fake endpoint that answers every streamGenerateContent with HTTP 429 and the reporter's exact JSON error body. Added an Antigravity instance (gemini-api-key, dummy key, agy 1.5.14), thent3 thread start --provider antigravity --model gemini-4-neon --wait. The turn failed as usage_limit. The native step_type 17 row used the 1.4-style Go map text ('Error 429, Message: ..., Status: RESOURCE_EXHAUSTED, Details: [map[... quotaResetTimeStamp:2026-11-21T19:26:59Z ...]]'), so T3 stored resetAt 2026-11-21T19:26:59.000Z correctly. The JSON-format step the reporter shows comes from the Google-account (oauth-personal) path, which this VM cannot sign into, so the banner itself was not seen in the app. The failing test shows the parser gap with the reporter's exact payload.Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.
Pjieter commentedon Nov 23, 2026
This still happens on the latest stable release, v0.1.11, with a Google-signed-in Antigravity account. On stable it's worse than the original report: the thread never gets a usage-limit banner at all.
What happened
An Antigravity thread hit the individual quota. The thread showed:
"Resume after usage limits" and "Snooze until limits reset" were both on. Neither fired, and the thread sat idle after the reset. On the same install, both settings work for Claude and Codex usage limits.
Diagnosis (v0.1.11 source)
In
apps/server/src/provider/acp/AntigravityTurnOutcome.tsatv0.1.11,turnFailureonly classifies an error step asusage_limitin three cases: the stop reason isrefusal, the text matches/\breason:QUOTA_EXHAUSTED\b/, or the text matches the 1.4Error NNN, Message: …, Status: …header. Antigravity 1.5's Google-account step starts withRESOURCE_EXHAUSTED (code 429): …followed by JSON ("reason": "QUOTA_EXHAUSTED"), so none of these match. The turn falls through to the genericprovider_errorbranch, and auto-snooze and auto-resume never see a usage limit.f68d36d8a(#39869) addedSTATUS_ERRORafter v0.1.11 was tagged, so nightlies should now show the banner. Your own new assertion inAntigravityTurnOutcome.test.tsstill fails on main, though, becauseresetAtstays undefined for the JSON body. The thread would show "Reset time unavailable; retry manually" and still never auto-resume. PR #40244 parses the 1.5 JSON reset fields and also covers the deferred-finalization gap from #40229.Steps to reproduce
Environment
Related: #40229, PR #40244
Triaged with
t3 triageby Claude Code (Claude Opus 5.5).CEikermann commentedon Nov 24, 2026
Can confirm same issue on Version 0.1.12-nightly.20261124.5178 (8aff2f9) using Antigravity 1.5.16