Antigravity BAIC config timeout ("failed to construct executor: ... context deadline exceeded") fails turns without retry #49592
What happened#
Antigravity turns (using oauth-business / Gemini Enterprise) intermittently fail immediately after idle resume or runtime restart with:
⚠ failed to construct executor: failed to fetch BAIC admin controls: fetching BAIC config: context deadline exceeded
The turn fails outright instead of auto-retrying, requiring a manual resend.
Diagnosis#
Occurred 4 times in one thread across both session/resume and session/new + session/load:
- On cold
agystartup (after T3 Code's 2-minute idlesession/closeor a runtime restart),agyfetches BAIC admin controls. When that times out,session/resume/session/newstill succeeds (5–48s), andsession/promptreturnsstopReason: "end_turn"in 12–47ms after writing the⚠ failed to construct executor: ...error step. - In
apps/server/src/provider/acp/AntigravityTurnOutcome.ts(turnFailure, lines 211–289), this Go timeout doesn't matchAPI_ERROR/STATUS_ERROR, so it falls through toif (apiError === null)(lines 267–274): generic message,retryable: false, and noresumeWithauto-recovery. packages/provider-acp/src/server/adapter.ts(lines 11306–11308) then triggersrequireRuntimeRestart, forcing the next turn through a freshagyspawn (session/new+session/load) and another cold BAIC fetch (which can time out again).
Steps to reproduce#
- Sign in to Antigravity (
agy 1.5.25) withoauth-business(Gemini Enterprise). - Let an active thread sit idle >2 minutes so T3 Code sends
session/close. - Send a follow-up message when Google's BAIC config fetch times out (intermittent).
session/promptreturns in ~12–47ms with the BAIC timeout error and the run fails without retry.
Version#
0.1.14-nightly.20261205.5772
Environment#
macOS (darwin arm64), Node v24.22.1, agy 1.5.25 (oauth-business)
Evidence#
# Provider event log (session/resume path):
session/close succeeded # 2 min idle unload
session/resume succeeded # 8.1s
session/prompt succeeded # 12ms -> turn failed
# Provider event log (session/new + session/load path after requireRuntimeRestart):
session/new succeeded # 6.9s
session/load succeeded # 129ms
session/prompt succeeded # 47ms -> turn failed
# Error step / agy acp-server log:
cascade_manager.go:3752] failed to apply admin control config overrides: failed to fetch BAIC admin controls: fetching BAIC config: context deadline exceeded
errorreport.go:282] failed to construct executor: failed to fetch BAIC admin controls: fetching BAIC config: context deadline exceeded
Related issues#
#47056 — Same upstream Google config-fetch timeout family during Antigravity startup, but #47056 is about FetchConfig shrinking the shared model catalog rather than AntigravityTurnOutcome.ts failing turns without retry on BAIC timeouts.
Fix applied or workaround#
None; manually resending the message recovers once the BAIC config fetch succeeds.
Filed by#
Antigravity (Gemini 4 Neon (Medium)) via t3 triage
Wajahat43(GitHub profile, opens in a new tab) added labelsvia-triage
tanstack-source added labelsbug
Sign in to join this conversation.