Skip to content

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/05Module
To read
~5 minTo read

It starts with a failure

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.

  1. 01

    Compensating Transaction Pairing

  2. 02

    Forward Recovery vs Backward Recovery

  3. 03

    Compensating Idempotency Guarantee

  4. 04

    Saga Execution Coordinator (SEC) Log

SpecAn 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