Checkpoints, interrupts and replay
medium 6 minA checkpoint is a durable workflow snapshot at a known boundary.
Where it shows up
The same pattern appears across everyday software.
Resume a refund without issuing it twice
The run pauses before a consequential write. Store the proposed arguments and version so the approval refers to a specific refund. On resume, compare the approved arguments with the current proposal. A changed amount requires a new decision. If a worker crashed after the write but before the next checkpoint, recover the existing result by key. A replay cannot undo or safely repeat an arbitrary payment.