summaryrefslogtreecommitdiff
path: root/internal/task
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-06 00:09:34 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-06 00:09:34 +0000
commit3672981c4d225bb5b7d965a8945bc7bc6e8b4e9d (patch)
tree0e40902052405b9cf0063f859a017ff3ab62ef3c /internal/task
parent7466b1751c4126735769a3304e1db80dab166a9e (diff)
fix: implement cancel endpoint and pool cancel mechanism
POST /api/tasks/{id}/cancel now works. Pool tracks a cancel func per running task ID; Cancel(taskID) calls it and returns false if the task isn't running. The execute goroutine registers/deregisters the cancel func around the runner call. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/task')
0 files changed, 0 insertions, 0 deletions