#75 - Learning from the Crisis: Post-Incident Actions
Restarting production can leave the cause unfixed and hide damage done during recovery.
16 min read
This is the final episode of our three-part series on incident response. We focus on what happens after the dust settles. How do you learn from what went wrong and avoid repeating it? Tune in to hear our top recommendations.
The incident is over, and nothing has changed
The service crashed, someone restarted it, traffic came back, and everybody went back to the sprint board. Three weeks later it crashes again. Same restart, same ten minutes, and by the third time nobody calls it an incident any more. Staying in that loop is cheap in the moment, which is exactly why teams stay in it for years.
The work that breaks the loop all happens after production is healthy again. It’s also the work that gets cut first, because the pressure is off and the backlog is still there. If you skip it, you’re not just risking a repeat. You’re telling your team that services crashing is the normal behaviour of this system, and that restarting them is the job.
One of our own incidents started with a salesperson saying the site felt slow. The front page talked to GraphQL, GraphQL talked to the API, and the API was crawling. Connections were queuing on the database. Fifteen minutes in, a developer mentioned they’d run an UPDATE on a production table, and that it shouldn’t affect production. It did. We stopped traffic to the API so the query could finish without everything else piling up behind it. The query completed, the database came back, we let traffic in again, and production was live. While traffic was stopped, the cluster answered 404 to everyone, Googlebot included. Pages Google had indexed were dropped, and that part stayed with us long after the site was healthy. The entire post-incident process was telling that developer that maybe they shouldn’t run queries against production on their own.
Give it a day before anyone writes a word
That story has a post-mortem in it that nobody ran, so start with the question that sounds too obvious to ask: when does the post-incident period actually begin?
When is the incident actually over?
Not when the page loads again. Give it at least 24 hours after you think the incident is done, then start the post-mortem work.
We’ve watched people start writing the post-mortem in the middle of an incident, while the thing is still burning. That splits the attention of the few people who have the full picture, and it produces a document written by someone who’s guessing at the ending.
The waiting has two jobs. One is verification: production being up for five minutes isn’t the same as production being stable, and you want to watch it through a normal traffic cycle before you declare the thing finished. The other is sleep. After a rough night, people come back with a clearer head and a better memory of what they typed at 03:00.
We don’t have research behind the 24 hours. It’s a floor, picked because it’s long enough to sleep on. The ceiling matters just as much, because a post-mortem that drifts two weeks out gets written from memory. PagerDuty’s postmortem process puts a number on that end: the owner schedules the meeting within 3 calendar days for a Sev-1 and 5 business days for a Sev-2. The document goes out before that meeting rather than being drafted in it. PagerDuty recommends circulating it for review about 24 hours ahead.
The human error is the process showing through
Waiting a day also keeps the first conversation from turning into a hunt for a culprit, which is where these meetings go when they’re held while everyone’s still angry.
What do you do with the person who made the mistake?
Keep them in the room, and spend the meeting on the process that let the mistake reach production.
The blame reflex is quick and it feels like progress. It was the developer. It was the network. My part was fine. None of it changes anything, because you can’t fix a human error directly. The mistake already happened.
Firing the person is the version of this that looks decisive. It works, narrowly: that particular person will not repeat that particular mistake at your company. It does nothing about the next person who finds the same production console, the same missing guardrail and the same Tuesday afternoon. John Allspaw made the long-form argument for this in Blameless PostMortems and a Just Culture in 2012, and Google’s SRE book builds its postmortem chapter on the same footing.
Blameless doesn’t mean vague. The developer who ran that UPDATE knows more about how it looked from the inside than anyone else in the room, which makes them the most useful person in it.
One more thing belongs in that meeting, and it’s the one teams forget: what went well. Write down what you want to keep, not only what you want to change. The habit that saved you an hour last night is worth as much as the gap that cost you one.
Write to a template, and rebuild the timeline
That framing holds or collapses in the document, so give the document a shape before you need it.
What goes in the post-mortem?
An executive summary with the business impact, a timeline, what went well, and the actions with owners. Use the same template every time, so the documents look alike and you can search them a year later.
The timeline is the part that earns its keep. Reconstructing it is where the dedicated incident channel pays off, with its typed commands, its “I’m restarting the pod”, and its timestamps on everything. That record is the one we argued for in the live incident half of this series. PagerDuty’s process puts the timeline first for the same reason, and asks for the status changes and the key actions responders took.
You’ll be surprised more often than you expect. A deploy that went out before the first alert, a retry storm that started before the restart rather than after it, an alert that fired into a channel nobody watches. The clock surfaces what wasn’t in the picture you walked in with.
For a worked example rather than a blank template, the SRE Workbook chapter walks through a real Google outage twice, once written badly and once properly.
Five whys, until you hit something you can change
With the timeline in front of you, the question becomes how far down to dig.
How far down do you dig?
Past the thing that broke, down to the conditions that produced it.
What you have on the surface is whatever directly caused the outage. The web service crashed, you restarted the pod, the service came back. Fine. Why did it crash? Five whys is one way to keep going: ask why, take the answer, ask why about that, and keep going until the answers stop being about this one failure.
It gets strange fast, in a useful way. We heard a case on Swedish radio where people in Uppsala were given a wrong diagnosis and went through a procedure they didn’t need. As it was reported, the review found the department was understaffed, so people were working under heavy stress, and the stress was driving the mistakes in judgement. That’s two levels down. Three is why the department is understaffed. The next question might be whether the department lacked budget. By then you’re nowhere near the original mistake, and you’re looking at the conditions that keep producing them.
It has critics worth reading. John Allspaw’s The Infinite Hows argues that a chain of five whys flattens a messy event into one linear story, and that “why” questions tend to drift toward people rather than conditions. He suggests asking how instead, which tends to surface the second story, the one about how the work actually gets done. Neither framing gives you a stopping rule. Both are after the same thing: the conditions behind the immediate failure rather than the step that tripped over them.
Actions need owners, and owners need the time
Everything up to here is a writing exercise. The next part is the one that decides whether the incident was worth anything.
Why do post-mortem actions never get done?
Because nobody allocated time for them, and nobody owns them by name.
If you lead a team, that allocation is yours. The analysis is cheap to approve and easy to praise. Giving the same people two days to fix what the analysis found is the expensive part, and it’s the only part that changes the system. Skipping it is also quietly corrosive: people did the work, found the problem, and then watched it sit there. Nothing kills the appetite for post-mortems faster than running them and shipping none of the actions.
When the time is genuinely tight, take the 80/20 version. Do the items that give you most of the benefit for a day of work, because you can usually find a day. Everything else becomes a ticket in the backlog with an owner on it, so the team can pull it once the current deadline is behind them.
Actions without owners get lost. PagerDuty’s accountability guidance is blunt about it, and attaches a policy to the dates. High-priority items that prevent a Sev-1 from recurring are completed within 15 days, Sev-2 items within 30. Pick your own numbers, but pick some. Keep the items in the same tracker as the rest of the team’s work, not in the post-mortem document where they go to die.
Some of the actions should remove you from the loop entirely. If a failure will recur, and you know the recovery steps, automate the recovery so the system heals itself and the next occurrence is a line in a log instead of a page.
Every fix you just ran is a runbook
A fair number of those actions are things you’ve already done once, under pressure, at speed.
What do you do with the fix you just ran?
Write it up as a runbook while you still remember the commands.
The database was down, you restored it, you know the sequence. That’s a runbook, and it goes to the top of the queue because you’ll never write it faster than today. Diagnostics count too. If a DNS lookup exposed the problem, capture that check in a runbook or test. The next responder can repeat it without rediscovering why it matters. You end up improving the tools you resolve incidents with, not only the resilience of the thing that broke.
Write down what the incident taught you about your own remedies, including the ones with side effects. Pulling traffic to let a query finish is a legitimate move. Answering 404 to the entire internet while you do it is not, and that’s the part we learned the expensive way. Google’s guidance on planned downtime has said since 2011 that a temporary outage should return 503, which tells crawlers the downtime is temporary. Our edge returned 404 instead. Google’s documentation on status codes says what that costs: a URL already in the index that starts returning 404 is removed from it. One 4xx code is handled differently, and it’s 429, which Google reads as an overloaded server rather than missing content.
That same 2011 post is honest about the limits of the trick, and both limits belong in the runbook. A 503 buys you a window, not immunity: Google says lasting 503 codes can eventually be seen as the server being permanently unavailable, which removes those URLs from the index too. The other detail is where the 503 comes from. For planned downtime, Google suggests having a separate server available to return it, because the machine you’re working on is often the one that can’t answer. Put the optional Retry-After header in the runbook as well, when you know how long the window is.
Tell people what happened, inside and out
A post-mortem nobody reads is worth about as much as one nobody wrote.
Who else needs to hear about this?
The rest of your team, whoever talks to your customers, and the person who reported the problem in the first place.
Internally, the cheap version works: send the link and let people read it when they have a moment. The better version costs five or ten minutes of a meeting you already hold, your biweekly demo or knowledge-sharing slot, where someone walks through what happened and what to do if it shows up again.
Externally, hand the detailed summary to the person who owns external communication. Their job is to turn it into a shorter one for customers, partners and integrators, with the internal hostnames and the finger-pointing removed. That’s where trust comes from. A customer who sees you made a mistake, explained it and fixed the cause will trust you more than a vendor who went quiet and shipped nothing.
The same move works at the scale of one person, in a company with no post-mortem culture at all. You can say “sorry, I did that, it’s fixed.” Or you can say: “I’m sorry I did that, it’s fixed, it’s not hurting anyone any longer, and I also want to do this, this and that to make sure it doesn’t happen again.” The second version makes you more valuable to the team, and over enough repetitions you get fewer incidents and more time for the work you’d rather be doing. Answer the internal teams who report problems to you the same way.
Somebody else may want the report too
Not everyone who reads your incident report will have asked politely.
Who else can demand a report?
Your regulator, your acquirer, or the card brands, depending on what your company holds and which compliance regime it sits under.
Lose card numbers under PCI DSS and you may have forensics on site rather than a Confluence page to fill in. The PCI Security Standards Council runs the PCI Forensic Investigator program for this. A card brand can require the compromised company to engage a listed investigator, and the report that investigator writes goes to you, to every affected payment brand and to every affected acquirer at the same time. Reading a draft first and asking for changes is not on offer. What makes that survivable is the record from the incident itself, the logs, the screenshots, the channel history. Collect it during the incident, because you can’t reconstruct it afterwards.
Scrutiny can also outlast the incident by years. We’d put SolarWinds in that category, with the usual caveat that we’re going on what’s public. In October 2023 the SEC charged SolarWinds and its chief information security officer Timothy Brown with fraud and internal control failures. The charges covered three things: what the company had published about its security practices, the controls behind those statements, and the incomplete disclosure it filed about SUNBURST in a December 2020 Form 8-K. In July 2024 the court granted the motion to dismiss in large part, sustaining only the fraud claims built on the company’s public Security Statement. The part worth taking from it is the shape of the exposure: the distance between what happened and what you’d published about how carefully you work. The notification clocks that start the moment you detect something are in the preparation half of this series.
What this means for teams
All of this adds up to a loop rather than a meeting, systematic security work as it’s sometimes called. An incident happens, you look it over, you learn something, you improve something, and the next one starts from a better position. Teams that skip it aren’t lazy. They’re busy, which is why the loop has to be scheduled rather than hoped for.
Four things to do this week:
- Put the template in your wiki, with an executive summary, a timeline, what went well and an actions table that has an owner column. The next incident is not the moment to invent it.
- Open your most recent post-mortem, give every action an owner and a date, and delete the ones nobody is going to do. A short honest list beats a long aspirational one.
- Take one fix you ran by hand in the last quarter and write it up as a runbook, including what the fix itself breaks while it runs.
- Send a plain-language summary of your last customer-visible incident to whoever speaks to your customers, and ask them to use it.
Common questions, answered
How do I stop the same outage from happening every month?
Stop treating the restart as the fix, and make the follow-up work someone’s job with a date on it. Without allocated time and named owners, corrective actions can sit unfinished.
Pick the actions that remove most of the risk for about a day of work and do them immediately. Put the rest in your normal tracker with owners and dates, so they compete with other work instead of sitting in a document. If the failure will recur anyway, automate the recovery.
How do I write a post-mortem when my company doesn’t do them?
Write one for yourself, and change how you communicate about your own mistakes. You don’t need anyone’s permission to say: this broke, I caused it, it’s fixed, and here are the two things I’m doing so it doesn’t happen again.
That one sentence does most of the work of a post-mortem culture. It gives colleagues a pattern to copy, and it moves the conversation from who broke it to what we change. Do it often enough and you get the side effect that matters: fewer incidents.
How do I keep Google from dropping my pages while production is down?
Serve 503 Service Unavailable from the edge while the service is out, instead of letting your ingress or load balancer answer 404. Google’s documentation says an indexed URL that starts answering 404 is removed from the index, while a 503 reads as temporary.
Keep the window short, and keep a separate server able to return the 503. A 503 that drags on is eventually read as permanent, and those pages go too.
Related episodes
- #73 Incident Response: Key Preparations You Need: backups, risk assessment, the three plans and the notification clocks that run while you’re busy.
- #74 From Preparation To Execution: Handling An Active Incident: one keyboard, one channel, and the live record this whole article depends on.
- #30 three pillars of observability: logs, metrics and traces, which are what you reconstruct the timeline from.
- #71 Unpacking The Dora Accelerate State Of Devops Report: where recovery time and change failure rate sit among the metrics teams get measured on.
Resources
- Postmortem Culture: Learning from Failure, Google SRE book, chapter 15: when a postmortem is required, and what blameless means in practice.
- Postmortem Process, PagerDuty: timeline first, the 3-calendar-day and 5-business-day meeting windows, the document circulated for review a day ahead, and filing follow-ups as tickets.
- Accountability, PagerDuty: the 15-day and 30-day completion policy for Sev-1 and Sev-2 action items, and why owners are named.
- Blameless PostMortems and a Just Culture, John Allspaw, Etsy, May 2012: the argument against the bad-apple theory, and why the person who erred belongs in the remediation.
- The Infinite Hows, John Allspaw, November 2014: what five whys flattens, and the alternative questions.
- How to deal with planned site downtime, Google, January 2011: why a temporary outage returns
503, the separate server that answers it, theRetry-Afterheader, and the point at which a lasting503stops being read as temporary. - How HTTP status codes, and network and DNS errors affect Google Search, Google: what happens to indexed URLs that start answering
404, why429is the exception, and how503is treated. - PCI Forensic Investigator program, PCI Security Standards Council: who is allowed to investigate a card data compromise, and who the investigator’s report has to reach.
Since we recorded
The teaser at the end of the episode became the next two: #76 Chaos Engineering Explained: Part 1 in March 2025 and its second part later that month. The SolarWinds case ended without a verdict: on 20 November 2025 the SEC dismissed the action against SolarWinds and Timothy Brown with prejudice, by joint stipulation. Post-mortems and status updates turned out to be an early place teams point AI at, because drafting is read-only work. #99 AI SRE and the End of 3 AM On-Call picks that up with Birol Yildiz in April 2026.
