GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — fix(antigravity): a silent prompt whose reply finished completes instead of failing by brycealindberg · Pull Request #44296 · pingdotgg/t3code ConversationProblemSometimes Antigravity writes its final reply but never answers Change
ScopeFixes #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
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 reactionsWhen 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]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| 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
Suggested reviewers: juliusmarminge, macroscopeapp
0c727Turns 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.
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.
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.
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.
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.
041dbb2f-fd4a-40b8-84f1-560a359c2ef7apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.tsapps/server/src/provider/acp/AntigravityTurnOutcome.test.tsapps/server/src/provider/acp/AntigravityTurnOutcome.tspackages/provider-acp/src/server/adapter.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Antigravity turn whose reply finished is marked failed after 15 minutes of silence
There was an error while loading. Please reload this page.