GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(antigravity): a silent prompt whose reply finished completes instead of failing by brycealindberg · Pull Request #44296 · pingdotgg/t3code

Conversation

@brycealindberg

@brycealindberg brycealindberg commented Nov 27, 2026

Copy link
Copy Markdown

Problem

Sometimes Antigravity writes its final reply but never answers session/prompt. After 15 minutes the inactivity watchdog retires the prompt and marks the turn failed ("Antigravity sent nothing for 15 minutes ..."), even though the reply is complete. The thread shows a Provider error under a finished answer. Repro and evidence are in #44286.

Change

  • AntigravityTurnOutcome.ts: the session-log read now also reads the last step's status, if the table has that column (older logs do not). When a retired prompt's last step is a finished planner response (step_type 15, status 3 = DONE), the check returns { replyFinished: true }. A reply still being written, or a later tool step, gives no such result.
  • provider-acp adapter: watchPromptOutcome may return that result. retireInactivePrompt then finalizes the turn as completed, not failed. The runtime still restarts as before, so the hung session/prompt is cleaned up. The normal settle path ignores the new result.

Scope

Fixes #44286. That is the part that #34160 left open ("recovery of completed replies whose session/prompt never resolves"). This PR does not change the timeout itself, so it does not overlap with #40407, which removes Antigravity's timeout.

Verification

  • New tests, run before the fix and failing on the old code: AntigravityTurnOutcome.test.ts "reports a retired prompt whose reply the agent finished", and AcpAdapterV2.test.ts "completes a silent prompt whose outcome check found the finished reply". Before the fix, both failed and 176 other tests passed.
  • After the fix: apps/server src/provider/acp/ + AcpAdapterV2.test.ts: 379 passed, 1 skipped.
  • pnpm run typecheck, pnpm run fmt:check, pnpm run lint: all pass.
  • packages/provider-acp tests: 132/133 pass. The one that fails, clientTerminals.test.ts "bounds unreleased terminal handles ...", times out at 5s on this machine on the unpatched base too, so it is not caused by this change.
  • Not checked: a live run against Antigravity. The evidence for the 15/DONE ending comes from real session logs (see [Bug]: Antigravity turn whose reply finished is marked failed after 15 minutes of silence #44286).

Done by Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
brycealindberg and others added 2 commits November 27, 2026 16:12
@brycealindberg
test: a silent Antigravity prompt whose reply finished
9912cbf
@brycealindberg @claude
fix(antigravity): complete a silent prompt whose reply finished
0c727a4
When Antigravity writes its final reply but never answers session/prompt,
the inactivity watchdog retired the prompt and marked the turn failed with
"sent nothing for 15 minutes". The session log already shows the reply as
a finished planner response (step_type 15, status DONE), so the outcome
check now reports that and the adapter completes the turn instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 27, 2026
@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 27, 2026
@juliusmarminge @claude
Merge origin/main into fix/antigravity-finished-reply-not-failed
13bf7b9
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 6f2e02c
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 36aaf4bd-75d3-45c1-bcab-14a907756a0b
Commits

Reviewing files that changed from the base of the PR and between 0c727a4 and 13bf7b9.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

When a retired Antigravity prompt has a completed planner reply in its session log, the ACP adapter now completes the turn without reporting a failure. Tests cover the outcome detection and the silent-turn timeout case.

Changes: Antigravity reply completion

Layer / File(s) Summary
Detect finished planner replies
apps/server/src/provider/acp/AntigravityTurnOutcome.ts, apps/server/src/provider/acp/AntigravityTurnOutcome.test.ts
The session-log reader checks for a completed planner response, with a fallback for logs that lack the status column. Tests cover retired prompts and cases that must not count as finished replies.
Complete retired turns without failure
packages/provider-acp/src/server/adapter.ts, apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts
The adapter completes a retired turn when the outcome reports replyFinished. The integration test checks that the silent turn and a subsequent turn complete.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix · Severity of issue fixed: Medium

Possibly related PRs

  • pingdotgg/t3code#30377: Adds the 15-minute Antigravity prompt inactivity deadline whose expiry behavior this change updates.

Suggested reviewers: juliusmarminge, macroscopeapp

Merge Risk: Minimal · previous review 0c727

Turns where Antigravity has finished writing a reply but never answers the prompt now complete instead of failing after 15 minutes. The runtime is still restarted to clean up the hung prompt. The change is narrow, falls back to the old failure behavior when the status information is missing, and is covered by targeted tests. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the fix and its scope: a silent Antigravity prompt whose reply finished now completes instead of failing. That matches the main change in AntigravityTurnOutcome.ts and the provider-acp…
Description check Passed The description covers the problem, the change, the scope with linked issues, and verification. It includes the Problem, Change, Scope, and Verification sections the template asks for. It explains the…
Linked Issues check Passed Directly linked issue #44286 asks that a turn complete, not fail after 15 minutes, when the session log's last step is a planner response (step_type 15) with status 3 (DONE) and session/prompt never r…
Out of Scope Changes check Passed All changes map to the #44286 recovery path. AntigravityTurnOutcome.ts adds the DONE_STEP_STATUS constant, the status column read, and the replyFinished flag. The test files cover the new outcome and …
Full details: Title check

Explanation

The title names the fix and its scope: a silent Antigravity prompt whose reply finished now completes instead of failing. That matches the main change in AntigravityTurnOutcome.ts and the provider-acp adapter. It follows the conventional commit form, and the title is 83 characters, so it runs long for a title.

Full details: Description check

Explanation

The description covers the problem, the change, the scope with linked issues, and verification. It includes the Problem, Change, Scope, and Verification sections the template asks for. It explains the 15-minute watchdog behavior, the step_type 15 and status 3 (DONE) check, and the adapter change. It gives focused test results, typecheck, format, and lint outcomes, and it states what was not checked: a live Antigravity run. It also names the model and harness, as the template requests. Minor gap: the title is not restated in the template's conventional commit form, but that is not required in the body.

Full details: Linked Issues check

Explanation

Directly linked issue #44286 asks that a turn complete, not fail after 15 minutes, when the session log's last step is a planner response (step_type 15) with status 3 (DONE) and session/prompt never resolves. The reviewed diff of apps/server/src/provider/acp/AntigravityTurnOutcome.ts implements this. It reads the steps.status column when pragma_table_info reports it, and falls back to NULL for older logs. It sets replyFinished only when row.type === 15 and row.status === 3. For a retired prompt (options.retired === true) with replyFinished, watchAntigravityPromptOutcome returns { replyFinished: true } before turnFailure runs. Per the PR description and raw summary, packages/provider-acp/src/server/adapter.ts maps this result to a completed turn. The raw summary also reports a regression test in AntigravityTurnOutcome.test.ts and a silent-prompt test in AcpAdapterV2.test.ts. I did not read the adapter or test diffs. The timeout itself is unchanged, which matches the issue's scope. Earlier issue #34160 is context only. The clientTerminals.test.ts timeout is a pre-existing condition, not a requirement of #44286.

Full details: Out of Scope Changes check

Explanation

All changes map to the #44286 recovery path. AntigravityTurnOutcome.ts adds the DONE_STEP_STATUS constant, the status column read, and the replyFinished flag. The test files cover the new outcome and the adapter behavior. The packages/provider-acp adapter adds AcpPromptOutcomeReplyFinished handling in watchPromptOutcome and retireInactivePrompt. The reviewed diff of AntigravityTurnOutcome.ts shows no unrelated edits. The PR does not change the 15-minute timeout, so it does not touch the work of #40407. The runtime restart on retirement is kept, as the PR description states. No unrelated change was found in the inspected code.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 54dacad
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 041dbb2f-fd4a-40b8-84f1-560a359c2ef7
Commits

Reviewing files that changed from the base of the PR and between 54dacad and 0c727a4.

Files selected for processing: 4

  • apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts
  • apps/server/src/provider/acp/AntigravityTurnOutcome.test.ts
  • apps/server/src/provider/acp/AntigravityTurnOutcome.ts
  • packages/provider-acp/src/server/adapter.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Nov 27, 2026

Copy link
Copy Markdown
Member

Thanks for this. Main has the change since #44294.

Compared the full production diff and regression tests with main: main now recognizes a retired prompt whose current-turn session log ends in a DONE planner response, completes the turn, and restarts the unresponsive runtime, covering this PR's behavior with a different outcome representation.

Closing as superseded.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Nov 27, 2026
@juliusmarminge juliusmarminge added takeover:blocked Takeover blocked; reason in the PR body and removed takeover:in-progress A takeover lead is working on this PR labels Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). takeover:blocked Takeover blocked; reason in the PR body vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Antigravity turn whose reply finished is marked failed after 15 minutes of silence

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@brycealindberg @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.