Commit 2c06190
fix: unblock_task returns to todo and clears stale claims (#25)
unblock_task checked started_at to decide status, always returning to
in_progress for tasks that had been worked on. It also preserved stale
claim fields, which suppressed the task.next trigger's claim guard.
Now always returns to todo and clears claim_owner/lease so the task.next
event fires and workers can pick up the task.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent c2b5299 commit 2c06190
File tree
2 files changed
+15
-6
lines changed- .boop/changelogs
- src/services
2 files changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 274 | + | |
280 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
| |||
0 commit comments