Chat /cancel <id> marks a running task cancelled but does not interrupt it #1360

Closed
opened 2026-10-27 13:40:04 +00:00 by sam · 0 comments
Owner

The gateway's StoreTaskController.Cancel is built without WithRuntime, so a running task is only marked cancelled in the store and its agent keeps running. /stop now stops tasks through the daemon task-actions path; /cancel should use the same path or be deleted in favour of /stop. Done when /cancel on a running task interrupts it, or /cancel no longer exists.

Notes

PR #1727 routes /cancel through the task-action service.

Close reason

chat /cancel goes through the task-action reject path, which stops the run (dc1085fb)


Imported from beads archie-core-him2 · GitHub #1505 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-26

The gateway's StoreTaskController.Cancel is built without WithRuntime, so a running task is only marked cancelled in the store and its agent keeps running. /stop <id> now stops tasks through the daemon task-actions path; /cancel should use the same path or be deleted in favour of /stop. Done when /cancel on a running task interrupts it, or /cancel no longer exists. ### Notes PR #1727 routes /cancel through the task-action service. ### Close reason chat /cancel goes through the task-action reject path, which stops the run (dc1085fb) --- _Imported from beads `archie-core-him2` · GitHub #1505 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-26_
sam added the mediumbug labels 2026-10-27 13:40:04 +00:00
sam self-assigned this 2026-10-27 13:40:05 +00:00
sam closed this issue 2026-10-27 13:40:05 +00:00
sam added the task label 2026-11-14 14:45:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1360