Coordinating Across Services
Distributed transactions, choreographed saga (+ payment), orchestrated saga (+ shipping), failure modes and the resilience chassis.
Distributed Transactions, the Saga & Extraction 4: Payment (choreographed)
Checkout's synchronous 201 or 402 becomes an asynchronous 202 with a PENDING order, a choreographed saga captures payment and confirms or compensates, and the equivalence suite learns to verify an outcome it cannot observe on the same request.
Orchestrated Sagas & Extraction 5: Shipping (FastAPI Saga Coordinator)
Shipping becomes a bounded, orchestrated saga: one FastAPI coordinator sequences dispatch and owns the compensation decision, the cross-context undo is delegated to the order context that owns the data, and a refund hop closes the stranded-payment gap.
Failure Modes & the Resilience Chassis
Partial-failure taxonomy; timeouts, retry with backoff, circuit breaker, bulkhead; the FastAPI resilience chassis and what is not built.