Level 4: Maintain stability
Level 4 keeps the system reliable in production. It controls the risk of change, invests in incident management, and extends resilience to background work. See Level 4 in the Microsoft model.
Strategies
| Strategy | Status | Detail |
|---|---|---|
| Reliable change management | Partial | Below |
| Invest in a dedicated team to handle incidents | Met | Below |
| Automate self-healing processes | Not met | Below |
| Extend resiliency to background tasks | Partial | Below |
Reliable change management
Today.
- Most Function Apps deploy to a
deployslot and swap. The three services surveyed in application resilience are Verified. - Container Apps deploy new revisions.
- Changes to Front Door and Application Gateway pass the hub regression suite in each environment before promotion. See Application Gateway change safety.
- Service Health alerts report planned maintenance and platform incidents.
Exit criteria. The strategy is met when:
- every Function App in
prddeploys through a slot and swap, or has a recorded exception; - a smoke test runs after each deployment in each environment, and a failure blocks promotion;
- risky changes on T0 flows are exposed progressively through feature flags, with a documented rollback;
- announced platform changes, such as the retirement of Linux Consumption Function Apps (DR-12), are reviewed and scheduled;
- release impact is measured against REL-6.
Requirements served: REL-5, REL-6, DEP-1, MNT-2.
Invest in a dedicated team to handle incidents
Met. Platform incidents go to SRE first. SRE handles them at L1 with the mitigation runbooks and escalates to the owner team only when it cannot resolve them. The recovery playbooks need a collective decision before they run.
To stay met:
- add or retire a runbook whenever a component is added or retired;
- train SRE on the health model once Level 3 defines it.
Automate self-healing processes
Not met. Alerts notify a Teams channel, and a person runs every mitigation. The platform heals some failures by itself, through instance restarts, Service Bus redelivery, and Front Door origin failover. Those are Level 1 and Level 2 mechanisms, not automated runbooks.
Exit criteria. The strategy is met when:
- the runbooks are ranked by how often they run and their impact;
- the highest-ranked runbooks that are safe to automate run from their alert, through Azure Monitor action groups. Function App Restart and DLQ Reprocessing are candidates;
- each automation follows the safe automation guidelines with a scope limit, a rate limit, and a kill switch;
- each automated run is logged and validated, and escalates when the validation fails.
Extend resiliency to background tasks
Today. Temporal persists workflow state in MySQL, so a workflow resumes after a failure (ADR-0019). The change feed checkpoints through leases, and the incidents handlers are idempotent.
Exit criteria. The strategy is met when:
- no background handler completes work after an unclassified exception (RES-01, RES-02, RES-19);
- an oversized message fails explicitly instead of looping (RES-14);
- every background pipeline has a failure alert and a lag alert, and every Service Bus entity has a dead-letter alert (RES-06, RES-13);
- the event archival workflow (DATA-2) is monitored like any other T0 background task once it exists.
Requirements served: REL-1, REL-2, REL-4.