taskactions: cancel/stop marks callee cancelled in store but never stops its running container #1206

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

internal/domain/taskactions/service.go:494-531 applyStop and applyCancelOrAbandon call CancelTask only on task.ID (the caller). While CancelExecution recursively transitions waited-on callee rows in postgres, no runtime cancellation is issued to the callee task IDs. The callee container continues executing to completion, wasting compute and forge calls. Done when cancelling a caller also halts runtime containers of its active callees.

Close reason

Fixed on fix/workflow-eda-audit (PR #1627)


Imported from beads archie-core-9labz · GitHub #1616 · type bug · priority P2 · created 2026-10-11 · closed 2026-10-11

internal/domain/taskactions/service.go:494-531 applyStop and applyCancelOrAbandon call CancelTask only on task.ID (the caller). While CancelExecution recursively transitions waited-on callee rows in postgres, no runtime cancellation is issued to the callee task IDs. The callee container continues executing to completion, wasting compute and forge calls. Done when cancelling a caller also halts runtime containers of its active callees. ### Close reason Fixed on fix/workflow-eda-audit (PR #1627) --- _Imported from beads `archie-core-9labz` · GitHub #1616 · type bug · priority P2 · created 2026-10-11 · closed 2026-10-11_
sam added the mediumbug labels 2026-10-27 13:39:27 +00:00
sam self-assigned this 2026-10-27 13:39:27 +00:00
sam closed this issue 2026-10-27 13:39:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1206