Terminal tool hang blocking all asyncio timers fix
Cluster 94285. Data as of
Nothing open on GitHub. Fix merged in #99506 on 31 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #99506. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #99506. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A wedged synchronous poll in the terminal tool's env.execute path could silently disable all asyncio timers, causing hangs far beyond configured deadlines. The fix applies bounded execution to prevent the loop-thread block from starving the timer queue.
Open issues0
Open PRs0
Fixes on record
-
#99506 fix(terminal): bound env.execute wait so a wedged poll cannot disable every timer (#94285)
files:
agent/deadline.py,cron/scheduler.py,tests/agent/test_deadline.py,tests/cron/test_cron_inactivity_timeout.py,tests/tools/test_interrupt.py,tests/tools/test_terminal_bounded_execute.py,tools/environments/base.py,tools/interrupt.py
1 PR closed without merging
From the close comments: done elsewhere 1
-
#94305 fix(terminal): bound env.execute wait so a wedged poll cannot disable every timer (#94285) · done elsewhere →
#99506
Closed issues · 1
- Closed#94285[cron][tool-executor] terminal tool hung 4118s past both the tool deadline (420s) and inactivity limit (600s) — loop-thread block silently disables all asyncio timers; apply run_bounded_sync to the terminal path
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.67: 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 LabAt a glance
- Merged PRs
- #99506
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 31 Aug 2026