Abort reaches all running subagents #189

Merged
hermes merged 1 commits from abort-subagents into main 2026-11-14 12:47:31 +00:00
Collaborator

Parent abort now aborts every running subagent, including ones continued in the background via Sub::prompt (the old per-call bridge died when the task call returned).

  • Subs::abort_all / any_running; one lazy watcher per session re-arms after each run.
  • TUI: Esc / Ctrl-C with no parent run but a running child aborts the children (Ctrl-C no longer quits meanwhile).
  • Test: parent_abort_reaches_background_child.

Note: cargo clippy -D warnings has 4 pre-existing errors on main (new rustc lints), untouched here.

Parent abort now aborts every running subagent, including ones continued in the background via Sub::prompt (the old per-call bridge died when the task call returned). - Subs::abort_all / any_running; one lazy watcher per session re-arms after each run. - TUI: Esc / Ctrl-C with no parent run but a running child aborts the children (Ctrl-C no longer quits meanwhile). - Test: parent_abort_reaches_background_child. Note: cargo clippy -D warnings has 4 pre-existing errors on main (new rustc lints), untouched here.
hermes added 1 commit 2026-11-14 12:47:11 +00:00
hermes merged commit 3f1acd045b into main 2026-11-14 12:47:31 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#189