Skip to content

[Bug]: Antigravity sent nothing for 15 minutes, so T3 Code stopped the turn and restarted the agent. Send a message to continue. #34160

Done

Description

@yiyun-li

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

In new version, Antigravity sent nothing for 15 minutes, so T3 Code stopped the turn and restarted the agent. Send a message to continue.

Expected behavior

Solve it plz

Actual behavior

Antigravity sent nothing for 15 minutes, so T3 Code stopped the turn and restarted the agent. Send a message to continue.

Impact

Blocks work completely

Version or commit

No response

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

  1. added
    bug
    needs-triage
    on Nov 11, 2026
  2. mr-karan commented on Nov 12, 2026

    @mr-karan
    Contributor

    Another occurrence on Linux x86_64, T3 Code 0.1.9-nightly.20261111.4515, Antigravity model ID gemini-4-carbon (Carbon 4 High).

    The thread activity and provider request log show this timeline on 2026-11-12, all times UTC:

    • 06:10:49.997: session/prompt dispatched.
    • 06:22:13.840: last visible completed file-read tool result.
    • 06:37:13.843: the outstanding session/prompt request terminates in the provider request log.
    • 06:37:13.848: the thread shows the exact 15-minute inactivity error quoted in this issue.
    • 06:57:37: I manually sent a message to resume.
    • 06:58:56 onward: the resumed turn produced more file-read results.

    This confirms the watchdog fired 15 minutes after the last visible tool result and that manual resume allowed further activity. It does not establish whether the original prompt was still computing or had silently failed. No upstream 502 has been confirmed for this occurrence, and there is no deterministic reproduction yet.

    Related investigation: #33583. The proposed fix in #33596 is still open and improves reporting of errors recorded in Antigravity's session log when the watchdog fires; its description explicitly retains the existing timeout. That may help diagnose this occurrence, but it should not be assumed to address legitimate long silent computation without checking the native turn outcome.

    The logs and review content are private, so this report includes only request metadata and timestamps.

  3. cding-math commented on Nov 16, 2026

    @cding-math

    Another occurrence, macOS, T3 Code 0.1.9, Antigravity gemini-4-carbon with thinking_level: high, on long reasoning-heavy delegated tasks.

    I think the root cause is not a hang: the model is healthy but thinks silently for more than 15 minutes.

    • The timeout is hard-coded for the Antigravity driver: promptInactivityTimeout: "15 minutes" in AntigravityAdapterV2 (as far as I can see in the 0.1.9 build). There is no setting, environment variable or per-provider-instance option to change it.
    • The watchdog (watchPromptInactivity / retireInactivePrompt) resets on progress events and pauses while a tool call or subagent is running. A model that is in a long thinking phase emits nothing T3 Code counts as progress, so it is stopped even though it would continue.
    • This seems tied to Antigravity ACP (Gemini 4 Argon): Streaming text gets stuck in running/streaming state & thoughts are never streamed #28172 (Antigravity thoughts are never streamed): if thought events reached T3 Code, they could count as progress and the timer would rarely fire on healthy turns.
    • Resuming with a message works and keeps the files the agent already wrote, which matches the timeline in the comment above.

    Request (either would fix it for us):

    1. make promptInactivityTimeout configurable per provider instance (or allow disabling it), or
    2. count thought/heartbeat events from the Antigravity runtime as progress.

    The 15-minute watchdog is clearly useful for real stalls (e.g. #33583), so a configurable value seems better than removing it.

    Workaround in the meantime: instruct the model to save a file or emit a one-line status at least every ~10 minutes; when it trips anyway, send a "continue" message.

  4. pioborgelt commented on Nov 17, 2026

    @pioborgelt

    Same error here, several times a day across multiple threads. Linux (WSL2), T3 Code 0.1.9, Antigravity gemini-4-carbon.

    One case we traced looks different from the "model is still thinking" and 502 explanations above. The turn had already finished inside Antigravity:

    • The trajectory in antigravity-acp/conversations/<session>.db has the final model response step complete (step_type 15, status 3) at 15:56:42Z.
    • T3 Code got neither the final text nor the end of the turn. The watchdog fired at 16:11:45Z, 15 minutes later, and only then showed the final text.
    • On the next resume the harness logged no checkpoint found, truncating conversation, so the end-of-turn checkpoint was apparently never written.

    At first this only hit very long trajectories (~1,500–3,700 steps, 37–87 MB .db). Since then it has also hit fresh threads after a long phase of file reads with no output.

    What helps for us: starting a fresh context, keeping turns short, and running long jobs outside the turn.

  5. 0xLightDev commented on Nov 17, 2026

    @0xLightDev

    Confirming @pioborgelt's observation on Linux with T3 Code 0.1.9 + Antigravity CLI 1.5.10, and adding a few reproducible details from events.*.log and conversations/<sessionId>.db:

    1. Sticky per-session state across restarts: Once a thread enters the state where agy finishes the reply (step_type = 15, status = 3 in <session>.db) without resolving the JSON-RPC session/prompt request, every subsequent turn on that thread reproduces the hang—even after the 15-minute watchdog restarts the ACP process and reloads the session via initialize + session/load. Opening a fresh thread clears it.
    2. OS suspend/wake: Because watchPromptInactivity compares wall-clock Clock.currentTimeMillis against lastProgressAt + 15m, suspending the machine while an already-replied turn has an unresolved session/prompt immediately fails that completed turn with the 15-minute error on wake.
    3. User workaround & potential T3 mitigation:
      • If the assistant reply already finished in chat, sending a follow-up prompt works cleanly without restarting work (or move to a fresh thread once a session becomes sticky). If it timed out mid-work (e.g. 502s), replying "continue" in the same thread resumes via session/load with prior context intact.
      • On T3's side, when retireInactivePrompt fires with no open foreground tools/subagents and the turn already received agent_message_chunk (or <session>.db shows the turn's final step_type = 15 completed after startIndex with no trailing step_type = 17 error), recycling the hung ACP runtime without failing the already-delivered turn would prevent false failure states on completed replies.
  6. juliusmarminge commented on Nov 23, 2026

    @juliusmarminge
    Member

    #39395, now on main: Suspending and waking the host during an Antigravity turn no longer causes the 15-minute inactivity watchdog to fail the turn because of time spent asleep.

    Not done: The issue also requests support for long silent reasoning and recovery of completed replies whose session/prompt never resolves; the merge preserves the awake-silence timeout and does not resolve those cases.

    Closing; open a new issue if what is left still matters to you.

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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions