Stale child heartbeat leaves delegation stuck running
Cluster 113222 · agent. Data as of
1 open item. Fix merged in #131811 on 5 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #131811. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #131811. That is separate from the fix event. - Still open
- 0 issues and 1 PR.
These items address a bug where delegated or batched child tasks with expired heartbeats are not collected as finished, leaving parent turns or bot-mode chats indefinitely in a running state. Fixes target heartbeat staleness detection and cleanup in delegation and bot-mode flows.
Open issues0
Open PRs1
- PR#129941fix(delegation): stop a collected child's ticking clock from refreshing the batch stall clock
Fixes on record
-
#113422 fix(bot-mode): a stalled subagent no longer locks a one-shot Bot Chat turn forever (#109749, salvage #109762, #113275)
files:
tests/tools/test_delegate_stale_wait_release.py,tools/delegate_tool.py,tools/delegate_tool_child_run.py,website/docs/user-guide/features/delegation.md -
#131811 fix(delegation): collect a child's real result in a grace window after the stale-heartbeat verdict [risk 0.30]
files:
tests/tools/test_delegate_stale_heartbeat_collect.py,tools/delegate_tool.py,tools/delegate_tool_child_run.py
2 PRs closed without merging
From the close comments: done elsewhere 2
Closed issues · 1
- Closed#113222[Bug]: async delegate_task batch never reports when a finished child's heartbeat is retired as stale — entries stay 'running'
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.33: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the Lab