Subagent panel keeps showing "Running" for subagents whose runs were interrupted #19612
Summary#
In the parent thread's subagent panel, subagents whose runs were interrupted (red "Run interrupted · Run interrupted by user" banner inside the subagent thread) keep displaying as Running with a growing elapsed timer (e.g. "1h 31m") instead of flipping to Interrupted/Stopped.
Steps to reproduce#
- Start a thread that fans out to subagents (observed with
delegate_taskchildren, e.g. an arena with 3 design candidates). - Interrupt the run(s) (Stop) while children are still working.
- Open the parent thread and look at the subagent group; open the nested subagent thread and look at its child group.
Observed#
- Parent panel: "Antigravity architecture candidate 1 — Running — 1h 31m", while that subagent thread's own status is
interruptedand its last run shows "Run interrupted by user". - Same one level deeper: inside that subagent, "Antigravity candidate A — Running — 1h 31m" though its thread status is also
interrupted. - Sibling subagents that finished normally correctly show "Finished"/"Stopped" with their final durations (e.g. "4m 10s", "24s"), so only the interrupted → Running transition seems stuck.
Expected#
When a subagent's run is interrupted, every panel referencing it (parent group and nested groups) should show Interrupted/Stopped and freeze the elapsed timer, matching the thread's actual status (interrupted via the thread API).
Environment#
- T3 Code (observed 2026-10-14; Linux)
- Delegation via
delegate_task(mode: "wait"andmode: "async"children affected) - Child providers: Codex (
gpt-6.1-sol) and Muse (muse-wonder-1.0,muse-spark-1.3) — the stale badge appears regardless of provider, so it looks like a status-propagation/UI issue rather than provider-specific.
juliusmarminge added labelsneeds more info
juliusmarminge added labelsvia-triage
Thanks for the pointers — here's what I can confirm from the API side:
1. Version:
0.0.46-nightly.20261014.3118— the incident ran under this exact build.t3 serve(same PID, still running) started 2026-10-14 17:28 UTC; the delegations happened 19:44–19:51 UTC and the interruptions at ~19:51–20:00 UTC. No server restart since, so this reproduces on the 20261014 nightly itself, not a build before it.2. Queued follow-ups / later turns: none.
- Both stuck children (
arena-antigravity-codex,antigravity-arena-candidate-codex) haverunCount: 1, a single run ending ininterrupted, and empty queues (t3_queue_listreturns no items for either). - Thread-level status via the API is
interrupted— only the parent panels keep rendering "Running" with a live timer.
3. Reload/restart: not yet tested. The stale badge was still visible ~1.5h after interruption in the live window (screenshots in the report), and the server hasn't restarted since the incident, so I can't report post-restart state yet. I can reload and report back if that helps.
One possibly relevant detail: the L1→L2 delegation used
mode: "wait"withtimeoutMs: 900000, but thedelegate_tasktool call itself failed after 300s withtimed out awaiting tools/call after 300s(surfaced in the L1 thread as "Failed to delegate a child task"). So the parent's wait never resolved normally before the Stop — consistent with your "parent's record never got settled" hypothesis. The L0→L1 leg was the arena skill's async fan-out and its row is stuck the same way, so it reproduces on both modes and at nesting depth ≥ 1.Happy to pull any other state (parent thread item dump, local DB rows) if you tell me what to grab.
- Both stuck children (
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
On current main,
interruptedalready counts as a terminal subagent status, so we need a bit more before treating this as a bug. The client (subagentRuntime.ts) and the delegated-task progress fold (delegatedTaskProgressinsubagentProjection.ts) both treatinterruptedas finished. A row that still says "Running" means the parent's record for that child never got settled. It doesn't meaninterruptedis mapped to Running.The interrupted-subagent issues we've seen before (#11608, #14802) were in V1 code that's been removed. The open fixes (#16814, #19544) cover native Claude subagents, not
delegate_taskchildren.Please tell us:
If this still happens on the latest nightly, we'll pick it back up.