From ea8bcc80ccbb3b7556d226d391189312fdd07321 Mon Sep 17 00:00:00 2001 From: godosa Date: Wed, 7 Oct 2026 19:59:24 +0200 Subject: res: batch gate borrows batch claim; drop queued jobs of dead batch Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JEAjUkQRrCYX5MZhWxdtj2 --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) (limited to 'CHANGES.md') diff --git a/CHANGES.md b/CHANGES.md index f6d9cc0..a25df8b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,5 @@ # Changes (newest first) +- 2026-10-07 `wf res`: a job started from inside a live job (`by.batch`, e.g. a batch worker's gate) borrows the parent's claim (mem + cpus, lent once) when fitting, so a batch waiting on its own queued gate no longer deadlocks; a queued entry whose batch ended is dropped at prune (`r-N dropped (batch r-M gone)`), never heads the queue. Projects: nothing. - 2026-10-07 Lane cloud: one stuck task no longer stops it: `wf orch post cloud` with awaiting / handback / lost parks only that task (awaiting: park as local lanes; handback / lost: `Cloud: no` + status cleared + note, local lanes may retry with pull's Recovery note), prints `alert: …; lane cloud keeps picking`, then the next cloud pick (never the same id). Projects: nothing. - 2026-10-07 Owner-absent default: workers never wait; owner-only step → `wf add -s human` + `wf set --after ` + status clear, result `needs-owner `. `wf orch post` parks it (After: the h-task, claim cleared, alert), lane keeps picking; owner's `wf done ` makes it pickable again. Worker def, shared CLAUDE.md, wf-orchestrate, wf-pilot, batch prompt, docs. Projects: nothing. - 2026-10-07 One stuck task no longer freezes its lane: `wf orch post` with awaiting / handback / post-check-red (local lanes; lane cloud unchanged: pull re-queues) parks only that task (blocked on the a-id named in the result, else `Sessions: owner` + an `orch …` note; handback also clears its claim), commits, prints `alert: → tell the owner (…); lane keeps picking`, then the lane's next pick. `stop lane` only for none / stop file / push-failed / wip / no report. Batch prompt, wf-orchestrate, wf-pilot, docs: keep picking, never wait on the owner while tasks are pickable. Projects: nothing. -- cgit