Turn an incident into regression controls
Write an incident follow-up that links mitigation, a regression fixture and a production alert to the same failure.
Scenario
A transit route assistant answers questions for tomorrow's timetable using yesterday's cached route revisions. The service is available, but an operator discovers that answers omit an overnight closure. The release is still canarying.
Explanation
During triage, name the affected cohort and the user consequence. Assign an incident owner and communicate impact, current mitigation and the next update. Stop expansion and use a known-good rollback when it restores service safely. When it cannot, switch to a verified degraded path. Validate recovery with the user-facing outcome and the affected slice.
A useful postmortem records the sequence, contributing conditions, why detection failed and the limits of the evidence. Convert the first verifiable failure into a test: fixed inputs, an expected tool or system outcome, and a versioned fixture. Add production coverage for the symptom the test cannot prevent. Give each action an owner and a condition that proves completion.
Worked example
The transit team pins the previous timetable route and posts which requests were affected. A fixture asks for the overnight closure by date and asserts the selected revision and cited notice. The production alert tracks mismatches between requested dates and retrieved revisions. The routing owner owns the fixture, and the on-call team owns alert response.