You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Antigravity ACP delegated tasks (delegate_task) hang in status: running after early session/prompt completion, never waking parent thread #39823
Provider:antigravity (antigravity-acp), model gemini-4-neon (thought_level: low)
Mode:delegate_task with isolation: worktree, mode: async
Root cause (confirmed from provider event logs)
Three parallel delegate_task workers were launched from parent thread 29d446f2-f0b7-441c-82ce-093f2ba8a29c at 2026-11-20T11:38:52Z–11:38:55Z.
In all 3 provider event logs, session/prompt returned status: succeededearly — as soon as the worker ended its first turn to wait for a background run_command task — while the Antigravity harness kept the session alive and reactively resumed the worker when its background command finished:
[11:39:01.958Z] session/prompt status: started
[11:43:44.756Z] session/prompt status: succeeded <-- worker ended turn waiting on background build/delink
... Antigravity reactively wakes the worker, which keeps working, commits at 11:50:26Z,
and streams its final assistant_message at 11:50:41Z OUTSIDE any active session/prompt RPC ...
[17:23:44.668Z] session/close status: started <-- only closed 5.5 hours later via manual task_cancel
Because session/prompt had already resolved (11:43:44Z for GAMECORE2, 11:48:08Z for GAMECORE4), the subsequent reactive-wakeup activity arrived with no pending session/prompt completion to close the final assistant_message or transition the T3 run to completed:
The final assistant_message item remained stuck at status: running.
The run remained stuck at status: running with completedAt: null and executedModel: null.
task_status continued reporting status: running, workState: working 5.5 hours later (17:23Z).
No completion wakeup was ever delivered to the parent thread.
Calling task_cancel immediately transitioned the final assistant_message to completed and the run to interrupted.
Either session/prompt should not resolve until Antigravity's reactive background-task wakeups complete, or T3 Code should finalize the run and wake the parent thread once the post-wakeup turn finishes.
@kDylanHayes Could you attach the three provider event logs you listed (events.thread-delegated-task-command-…e488e6bcba0cd166.log, …ac9cdab825a5c330.log, …3678a1365133d1fc.log), or at least every tool_call / tool_call_update line in them, so we can see which tool T3 still had as running after the final assistant_message? In particular: was any shell command (run_command) still running then, for example a watcher, a dev server, or a command the worker started during the wake?
@juliusmarminge Good news — the three provider event logs are only 12 lines each (they only record ACP JSON-RPC request/response pairs, not tool_call / tool_call_update notifications).
To directly answer your question: no shell command (run_command), watcher, or dev server was still running after the final assistant_message in any of the three child threads.
Checking t3_thread_read (view: activity) on all three child threads confirms:
Every command_execution and tool call in all 3 threads had already transitioned to status: completed before the final assistant_message (the last command in each thread was git commit, all exiting with code 0).
In all 3 threads, the only item still open/running when task_cancel was called at 17:23Z (and therefore updated at 17:23Z) was the final assistant_message itself:
Final assistant_message: pos=106, stuck in running until task_cancel updated it at 17:23:47.149Z
Notice in all three cases that the final commands and final assistant_message occurred aftersession/prompt had already returned status: succeeded (by ~6.7 min, ~44 s, and ~83 s respectively).
Here are the full contents of all three provider event logs:
Activity
juliusmarminge commentedon Nov 20, 2026
@kDylanHayes Could you attach the three provider event logs you listed (events.thread-delegated-task-command-…e488e6bcba0cd166.log, …ac9cdab825a5c330.log, …3678a1365133d1fc.log), or at least every tool_call / tool_call_update line in them, so we can see which tool T3 still had as running after the final assistant_message? In particular: was any shell command (run_command) still running then, for example a watcher, a dev server, or a command the worker started during the wake?
kDylanHayes commentedon Nov 20, 2026
@juliusmarminge Good news — the three provider event logs are only 12 lines each (they only record ACP JSON-RPC request/response pairs, not
tool_call/tool_call_updatenotifications).To directly answer your question: no shell command (
run_command), watcher, or dev server was still running after the finalassistant_messagein any of the three child threads.Checking
t3_thread_read(view: activity) on all three child threads confirms:command_executionand tool call in all 3 threads had already transitioned tostatus: completedbefore the finalassistant_message(the last command in each thread wasgit commit, all exiting with code 0).task_cancelwas called at17:23Z(and therefore updated at17:23Z) was the finalassistant_messageitself:...delegate-task:b8ccc05b-...):session/promptsucceeded:11:43:44.756Zcommand_execution(git commit, exit 0):pos=107,status: completed,updatedAt: 11:50:26.377Zassistant_message:pos=108, stuck inrunninguntiltask_cancelupdated it at17:23:42.895Z...delegate-task:fe9496aa-...):session/promptsucceeded:11:48:01.382Zcommand_execution(git commit, exit 0):pos=99,status: completed,updatedAt: 11:48:45.604Zassistant_message:pos=100, stuck inrunninguntiltask_cancelupdated it at17:23:44.952Z...delegate-task:502dedde-...):session/promptsucceeded:11:48:08.396Zcommand_execution(git commit, exit 0):pos=105,status: completed,updatedAt: 11:49:31.444Zassistant_message:pos=106, stuck inrunninguntiltask_cancelupdated it at17:23:47.149ZNotice in all three cases that the final commands and final
assistant_messageoccurred aftersession/prompthad already returnedstatus: succeeded(by ~6.7 min, ~44 s, and ~83 s respectively).Here are the full contents of all three provider event logs:
events.thread-delegated-task-command-3amcp-3a39316c25-06ed-429c-b0f3-68640c78737a-3adel-e488e6bcba0cd166.log(GAMECORE2, 12 lines)events.thread-delegated-task-command-3amcp-3a39316c25-06ed-429c-b0f3-68640c78737a-3adel-ac9cdab825a5c330.log(GAMECORE3, 12 lines)events.thread-delegated-task-command-3amcp-3a39316c25-06ed-429c-b0f3-68640c78737a-3adel-3678a1365133d1fc.log(GAMECORE4, 12 lines)(Note: submitted by Antigravity / Gemini 4 Neon.)
kDylanHayes commentedon Nov 21, 2026
Closing as resolved — tested on \