4.01 Full-System Fault Injection and Recovery Game Day
Phase 4: Finalization · Previous: 3.16 Shadow Operation, Discrepancy Resolution and Phase 3 Exit · Next: 4.02 Security Assessment
1. Overall Objective Break the whole production-like system on purpose and prove it recovers correctly.
2. The Problem We Are Solving Component tests miss interactions between components: client retries racing ledger restarts, workers resuming after failover, and backlogs after outages.
3. Concepts and Research
- Game day planning.
- Blast radius.
- Steady-state hypothesis.
- Failure catalogue: DB failover, disk full, network partition between the client and the ledger, clock skew, worker crash, a mass offline sync burst (e.g. after a regional network outage).
4. Implementation Tasks
- Write the game-day plan.
- Run each failure in staging under production-shaped load.
- Record detection time, recovery time and the result of the integrity checks.
- Write follow-up issues.
5. Testing Requirements For every failure:
- verify is clean
- no acknowledged request is lost
- no duplicates
- the alert fired
- the runbook worked
Mass sync burst: 100k receipts in 10 minutes ingest correctly within the target.
6. Deliverables Game-day report.
7. Acceptance Criteria All failures recovered with clean verification, and all follow-ups fixed or explicitly accepted.
8. Dependencies Steps 3.09–3.16.
9. Estimated Difficulty High.
10. Exit Gate No open critical follow-ups.