diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-06 00:09:34 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-06 00:09:34 +0000 |
| commit | 3672981c4d225bb5b7d965a8945bc7bc6e8b4e9d (patch) | |
| tree | 0e40902052405b9cf0063f859a017ff3ab62ef3c /internal/cli/init.go | |
| parent | 7466b1751c4126735769a3304e1db80dab166a9e (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/cli/init.go')
0 files changed, 0 insertions, 0 deletions
