Files
PaperClipAI/server
devinfoleyandClaude Opus 5.5 91f1352097 fix(heartbeat): decide pre-dispatch recovery from the revoked row
The reaper read executionStage from the snapshot it took before the
loop. If the old controller renewed to "dispatching" before its lease
expired, revocation still succeeded and the stale "preparing" value
would record providerWorkStarted: false and allow a retry.

Return the stage and process identifiers committed by the revoking
write and decide from them. They cannot advance after revocation,
because renewal requires the replaced boot ID.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 00:51:25 +00:00
..