When step 3 fails after steps 1 and 2 have already done something real, like taking a payment, how do you undo it cleanly?
- Module
- 03/05
- To read
- ~5 min
A travel booking workflow charged the customer’s card, booked the hotel, then failed to reserve the flight. What do you think happened to the charge and the hotel booking?
In the module you make your guess first, then read what happened and why.
Compensating Transaction Pairing
Forward Recovery vs Backward Recovery
Compensating Idempotency Guarantee
Saga Execution Coordinator (SEC) Log
An undo plan for multi-step actions
A spec for your own app, as a text file you download. The module also gives you the prompt for Claude Code, Codex or Antigravity, a checklist to check what it built, and recommended skills.
- Idempotency
- Durable background workers
- Eventual consistency