A small experiment
The retry lab.
A local record and a remote effect can disagree. Change the failure point, retry the operation, and follow the gap.
What does the next attempt see?
Open the Ruby example ↗Choose where the first attempt stops. Then retry the same operation and watch the local record and gateway separately.
- Gateway requests
- 0
- Simulated charges
- 0
- Local record
- Absent
Ready. Run the first attempt to create a pending record and stop at the selected point.
An educational JavaScript model: serial attempts, state held in memory, and a fake gateway that keeps successful results for the same operation key. No payments are made. This does not simulate concurrent workers, durable storage, key expiry, or a real provider integration. Changing either option starts a fresh experiment.