{"repo":"NousResearch/hermes-agent","public_id":"94285","display_label":"Terminal tool hang blocking all asyncio timers fix","summary":"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.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":99506,"merged_at":"2026-08-31T17:42:40+00:00"},"resolution":{"state":"resolved","by":"pr-99506"},"freshness":{"state":"verified","last_verified_at":"2026-08-31T17:42:40+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":94285,"pr_number":99506,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-08-31T17:42:40+00:00"}],"members":[{"kind":"issue","number":94285,"title":"[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","url":null,"state":"closed"},{"kind":"pr","number":94305,"title":"fix(terminal): bound env.execute wait so a wedged poll cannot disable every timer (#94285)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#99506","number":99506}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":99506,"title":"fix(terminal): bound env.execute wait so a wedged poll cannot disable every timer (#94285)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["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"]}],"trust":{"default_tier":"verified","includes_suggested":false}}