mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-07 02:41:47 +00:00
Conflict in crates/engine/src/jobs.rs: main's save commit point (#5333, OPEN/COMMITTED/CANCELLED phase) met the batch's cancel state (CANCEL_REQUESTED/WORK_FINISHED). Both now share one atomic with a COMMITTED bit; commit vs cancel and the batch's late-cancel guard each stay one compare-and-swap. A Batch that refuses a repeated or late cancel reports CancelRefused::Finishing ("finishing") in jobs.cancel's notCancelled list, still {"cancelled": 0}. control-protocol.md documents both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>