Skip to content
Source
Sign inSign up
pingdotgg/t3code

Antigravity BAIC config timeout ("failed to construct executor: ... context deadline exceeded") fails turns without retry #49592

OpenWajahat43(GitHub profile, opens in a new tab) opened this issue 0 comments

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:

  1. On cold agy startup (after T3 Code's 2-minute idle session/close or a runtime restart), agy fetches BAIC admin controls. When that times out, session/resume / session/new still succeeds (5–48s), and session/prompt returns stopReason: "end_turn" in 12–47ms after writing the ⚠ failed to construct executor: ... error step.
  2. In apps/server/src/provider/acp/AntigravityTurnOutcome.ts (turnFailure, lines 211–289), this Go timeout doesn't match API_ERROR / STATUS_ERROR, so it falls through to if (apiError === null) (lines 267–274): generic message, retryable: false, and no resumeWith auto-recovery.
  3. packages/provider-acp/src/server/adapter.ts (lines 11306–11308) then triggers requireRuntimeRestart, forcing the next turn through a fresh agy spawn (session/new + session/load) and another cold BAIC fetch (which can time out again).

Steps to reproduce

  1. Sign in to Antigravity (agy 1.5.25) with oauth-business (Gemini Enterprise).
  2. Let an active thread sit idle >2 minutes so T3 Code sends session/close.
  3. Send a follow-up message when Google's BAIC config fetch times out (intermittent).
  4. session/prompt returns 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

#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

  1. Wajahat43(GitHub profile, opens in a new tab) added labelsvia-triage

  2. tanstack-source added labelsbug

Sign in to join this conversation.