Incidents and post-mortems
Last updated
One Monday at 7:12, Pila stops replying to texts. Forty patients are waiting outside a health centre with no numbers. What the team does in the next hour, and what it does in the week after, decides whether this happens again. In this lesson you'll follow an incident minute by minute, learn the roles that keep a response calm, write a blameless post-mortem, and see how CrowdStrike explained the update that crashed millions of computers in 2024.
By the end of this lesson you can
- Respond to an incident: detect, respond, recover, learn
- Name the roles in an incident, and keep users informed
- Write a blameless post-mortem that leads to real changes
Pila’s SMS outage
An incident is an unplanned interruption that users feel. Every team has them. What differs is how fast they're noticed and fixed, and whether the team learns from them. The Google SRE book's stages are detect, respond, recover, learn.
- 7:12 Replies stop Maintain
Roles and talking to users
When something breaks, everyone wants to help, and five people changing things at once makes it worse. The Google SRE book recommends clear roles, decided at the start:
| Role | Does | In Pila’s outage |
|---|---|---|
| Incident commander | Coordinates: decides who does what, keeps track, calls it over | Jun |
| Operations | Investigates and fixes, and only they change the system | Bea |
| Communication | Keeps users and bosses informed, so the fixers aren’t interrupted | Rina |
On a small team one person may hold two roles, but someone must always hold each. And tell users early, even before you know the cause: what's affected, what to do meanwhile, and when you'll update them next. Rina's notice and Ate Cora's paper numbers turned an outage into an inconvenience.
Blameless post-mortems
After recovery, the team writes a post-mortem: what happened, why, and what will change. In 2012, John Allspaw, then at Etsy, described why it must be blameless. If people expect punishment, they leave out what they did and why it made sense at the time, and that's the information the team needs. People rarely set out to break things; their actions made sense given what they knew, and the post-mortem asks why the system made the mistake easy.
Blameless doesn't mean nobody is accountable. It means the team is accountable for fixing the system, and people are safe to tell the truth.
A tool teams use is the five whys: ask why, then why again, to dig below the first answer. Its limit is that real failures rarely have one chain of causes; ask “what else contributed?” as well, or you'll stop at a single convenient answer.
Write the post-mortem
Write Pila's post-mortem from the timeline in step 1. The checks will warn you if a cause names a person's mistake.
- Gives the times (not yet)
- Says how many were affected (not yet)
- At least four times (not yet)
- Mentions the key expiring (not yet)
- Mentions the missing alert or monitoring (not yet)
- Blames no one by name (done)
- Names at least one thing (not yet)
- At least two actions (not yet)
- Each has an owner or date (not yet)
CrowdStrike, July 2024
One of the largest outages ever, as told in the company's own root cause analysis:
- Earlier in 2024 A new template type
Its lessons are this stage's lessons: a mismatch no test exercised (6.3), an update treated as too routine for the pipeline's care (7.5), and a release to everyone at once instead of a canary (7.6).
Spot the trap: “whose fault was it?”
The day after the outage, Kap. Ernesto asks in the team meeting: “Whose fault was it? Who forgot the key?”
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- John Allspaw: Blameless PostMortems and a Just Culture (Etsy Code as Craft, 2012): why blame hides what really happened
- Google SRE book, chapter 15: Postmortem Culture: what goes in a post-mortem, and how to make them routine
- Google SRE book, chapter 14: Managing Incidents: incident roles, and a clear command structure
- CrowdStrike: Channel File 291 Incident Root Cause Analysis (August 2024): the company’s own account of the 19 July 2024 outage