Reliability testing
This page lists how ION tests that it is reliable, what is in place, and what is missing. It answers the Well-Architected checklist item RE:08 Test for resiliency and availability.
Coverage at a glance
| Test type | What it proves | Status | Evidence |
|---|---|---|---|
| Unit tests | Code behaves as designed | In place, below the MNT-2 target of 70% coverage | CI/CD Runway, RT-05 |
| Integration tests | Services work with real dependencies | Partial. MNT-3 requires them for every service. Coverage is not inventoried | RT-05 |
| Hub regression suite | Every Front Door and Application Gateway route answers, with latency and certificate checks, after each deployment | In place | The regression suite |
| Synthetic monitoring | T0 flows work from the outside, continuously | Described, coverage not verified | Observability: synthetic monitoring, HM-06 |
| Load and performance tests | The platform meets PERF-1 to PERF-8 at the planning envelope | Missing | RT-01 |
| Fault injection | Retries, timeouts, dead-lettering, and degradation work when a dependency fails | Missing | RT-02 |
| Zone-down test with Azure Chaos Studio | Zone-redundant tiers survive a zone loss, and the tiers with zone gaps behave as documented | Planned in gma, not yet run | Drill calendar |
| Degraded-mode test | The degraded-mode flag sheds T2 and T3 work and recovers cleanly | Missing | RT-03 |
| DR drills | The recovery procedures work and meet their RTO and RPO | One drill run: the event-store drill. The rest of the calendar has not run | Drills, DR-20, RT-04 |
| Tabletop exercises | People know the roles and decisions | Planned quarterly | Drills |
Where each test runs
- Destructive tests MUST run in
gma, never inprd. Experiments in production are a Level 5 maturity practice, and ION does not plan them before Level 4 (maturity model). - A drill or test that is skipped or fails MUST be recorded as a gap, as the drill rules require.
- A recovery target changes from objective to measured only through a drill report.
What to test first
The order follows the risk on the T0 flows.
| Priority | Test | Environment | Pass criteria | Covers |
|---|---|---|---|---|
| 1 | Sustained 5× peak load on FL-01 | gma | PERF-4, PERF-5, and PERF-7 hold, and backlog returns to target after the peak | RT-01, SC-01 |
| 2 | Poison message, duplicate message, and a mocked 429 from Cosmos DB and Graph | gma | Dead-letter at once, no double effect, bounded retries honouring Retry-After | RT-02, RES-02 to RES-05 |
| 3 | Event-store PITR restore and projection replay | gma | Measured RTO within 4 hours, restore point recorded | RT-04, DR-20 |
| 4 | degraded-mode on and off | gma | T2 and T3 work pauses, T0 capacity holds, and the backlog drains afterwards | RT-03 |
| 5 | Front Door outage bypass | gma | Sign-in, MFE load, and API calls work through the bypass | DR-20 |
| 6 | Zone-down with Chaos Studio | gma | Error spike and recovery time recorded. Behaviour of the DR-03, DR-09, and DR-11 tiers matches the FMA | RT-02, DR-20 |
| 7 | ServiceNow outage longer than the redelivery budget | gma | Ticket commands dead-letter, and DLQ reprocessing restores every ticket | FMA-06 |
Event-store drill
The event-store DR drill has been run, and its write-up is kept by the team that ran it. The measured restore duration and restore point are not yet recorded in the recovery targets table, so the event-store targets still read as objectives (RT-04).
Gaps
| ID | Severity | Gap | Fix | Owner |
|---|---|---|---|---|
| RT-01 | HIGH | No load or performance testing. PERF-1 to PERF-8 are unverified, and the first bottleneck on the T0 path is unknown | Choose a load-testing tool, then run the observed-baseline, reference-average, and sustained 5× peak scenarios against FL-01 in gma | CPE, with the Incidents team |
| RT-02 | HIGH | No fault injection. Retry, dead-letter, and duplicate handling are not tested by failure, and the Chaos Studio zone-down test has not run | Add failure tests for every HIGH row in the application failure catalogue, then run the zone-down test | Owning teams, CPE with SRE |
| RT-03 | MEDIUM | The degraded-mode flag has never been exercised | Test it in gma and record the shed and recovery behaviour | SRE |
| RT-04 | MEDIUM | The event-store drill results are not in wayfinder, and the rest of the drill calendar has not run | Publish the drill report and update the recovery targets. Run the calendar. Tracked with DR-20 | SRE, Incidents team |
| RT-05 | MEDIUM | Unit-test coverage is below MNT-2, and integration-test coverage (MNT-3) is not inventoried | A coverage baseline for each T0 service, with a plan to reach MNT-2 | Owning teams |