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
[Bug]: AntigravityTurnOutcome.resetAtFrom misses 'Resets in <dur>.' so failure.resetAt is null #42325
When agy acp hits a 5-hour quota limit, its error message reports the reset duration in the form:
... Resets in 4m42s.
In src/provider/acp/AntigravityTurnOutcome.ts, resetAtFrom(text, now) only checks RESET_TIMESTAMP (quotaResetTimeStamp:), RESET_DELAY (quotaResetDelay:), and RETRY_DELAY (retryDelay:). It does not match Resets in <go-duration> (such as Resets in 4m42s., Resets in 1h2m., Resets in 30s.).
As a result:
failure.class is classified as usage_limit, but failure.resetAt is null.
autoResumeLimitedThreads and snoozeLimitedThreads never trigger for Antigravity rate limits that use this message format.
Expected behavior
Match /\bResets\s+in\s+((?:\d+(?:\.\d+)?(?:ms|s|m|h)\s*)+)/i (or equivalent Go duration extraction) inside resetAtFrom() and populate failure.resetAt from now + delayMs.
Related secondary observation
When a thread fails with usage_limit and a subsequent background_task completion run executes with zero assistant output, the thread's latest run becomes completed, masking the preceding usage_limit failure from recovery logic.
Activity