Incident Response Basics: What Happens When Apps Break
It is 9:14 on a Saturday night and your phone buzzes: one in five checkout requests on your shop is failing. Four engineers join a chat. One reads logs, one wants to restart the database, one answers the boss, and nobody knows who decides. This lesson covers incident response basics: the steps from alert to review, who does what, how severity sets the pace, and why you stop the harm before hunting for the cause.
The lifecycle: from alert to review
Lesson 1 defined an incident as an unplanned problem that hurts users, and to mitigate as stopping the harm before you know the cause. Here is the whole path.
Detect. Ideally an alert fires first, such as the fast-burn alert from lesson 6, and pages the on-call engineer, whose turn it is to answer urgent alerts. They acknowledge the page, telling the paging tool someone is on it, so it stops escalating. If users report the problem before any alert does, your monitoring has a gap.
Declare. Saying "this is an incident" starts the process: roles, one channel and regular updates. Google's SRE book suggests declaring if you need a second team, customers can see the problem, or it is unsolved after an hour of focused work. Declaring early is cheap: you can close it quickly.
Triage and mitigate. Triage means judging how serious the problem is: set a severity and assign roles (both below), then stop the harm. Verify recovery with the SLI from lesson 5, the measurement of what users get, such as the share of checkouts that succeed. A fix that ran without errors is not proof; a healthy SLI is.
Resolve and review. Once users are unaffected and the service has stayed stable for a while, the person leading the response closes the incident, even if the permanent fix is still ahead. Within days comes the postmortem, a review of what happened and how to prevent it.
In the flowchart, notice the loop at step 6, and that the root cause appears only at the end.
Who does what: incident roles
The incident commander (IC) keeps the big picture, decides what to try next, hands out roles and holds any role not yet assigned. The IC stays off the keyboard on purpose: someone deep in a terminal cannot watch the whole incident. The on-call engineer is often IC until they hand over.
The operations lead (ops lead) runs the hands-on work: reading logs, running commands, changing systems. During the incident only the ops lead's team changes production, so nobody applies clashing fixes. They call in subject experts, such as the database team.
The communications lead (comms lead) updates stakeholders on a fixed schedule: the people affected or responsible, such as support staff, managers and customers. Customers often read a status page, a public page of outages. Regular updates stop people interrupting responders to ask.
Many teams add a scribe, who records what was seen, decided and done. In a small incident one person may hold several roles, as long as each role has a named owner. In the diagram, notice that every solid arrow starts at the IC: the hub, not the fixer.
Severity levels and what they trigger
A severity level labels how badly an incident hurts users, from SEV1, the worst, to SEV3 or beyond. Each level triggers a response agreed in advance, such as who is paged and how often updates go out, so nobody debates mid-incident whether to wake a manager. The table shows an illustrative scheme; real ones differ by company.
Judge severity by harm to users, not by how alarming the cause looks, and raise it if the harm spreads. When unsure, pick the higher level: downgrading is cheap, while a late upgrade means help arrives late.
Mitigate first, find the root cause later
The root cause is the underlying reason an incident happened, such as a bug in Tuesday's release. Finding it can take hours, and meanwhile users keep failing and your error budget burns. So, like the ER team, you stabilise first. Three mitigations cover many incidents:
- Roll back to the previous working version (lesson 6): the usual first move when trouble follows a release or configuration change.
- Fail over to a healthy spare, such as a database replica or another availability zone (lesson 11).
- Turn off a feature by flipping its feature flag, which disables code without a new deploy.
You need not know why a release broke checkout to roll it back, and if errors stop, you have also learned the release was involved. These moves are usually fast and reversible, so they come before the investigation.
Save evidence that costs seconds, such as the error message and a graph screenshot, since a restart can wipe the clues. Never let it delay the mitigation.
One channel and a running timeline
Keep all incident talk in one shared place, usually a chat channel opened for the incident; decisions made on a call get typed there too. Private side conversations leave the IC blind and the record full of gaps.
The scribe keeps a running timeline there: each entry has a time, what was seen, decided or done, and by whom, in one time zone such as UTC. An illustrative timeline for the opening's outage:
All times UTC
21:14 Page: checkout errors at 20 percent
21:16 Asha acknowledged, investigating
21:19 SEV2 declared. IC: Asha. Ops lead: Sam
21:24 Errors began 21:05, just after release 4.18
21:26 Decision: roll back to 4.17 (Sam)
21:33 Errors back below 0.1 percent, watching
21:58 Stable for 25 minutes. IC closed the incident
These lines show, without anyone's memory, that users were hurt for 28 minutes (21:05 to 21:33) and the alert took 9 of them. People misremember stressful nights, so the postmortem needs this record, and latecomers catch up by reading it. A later lesson turns it into a blameless postmortem.
Check yourself
Errors jump just after a release. One engineer wants to find the bug in the new code; another wants to roll back. Which comes first, and why?
Roll back. It stops the harm in minutes without knowing the cause, and if errors stop, the release was involved. The bug hunt can wait until users are safe.
Mid-incident, the incident commander starts debugging the database personally. What goes wrong?
Nobody is watching the whole incident, so updates, roles and the next decision stall. The IC should hand the hands-on work to the ops lead and keep coordinating.
A rarely used settings page breaks for a few users, and there is a workaround. Should anyone be paged at 3 a.m.?
No. Severity follows user impact, so in the example scheme this is a SEV3: a ticket for working hours. Paging for small problems wears people out for the real SEV1s.
Go deeper
- Incident Management: Post-Mortem Culture That Works: what happens after an incident closes: blameless reviews and root cause analysis.
- AI Incident Triage: A Co-Pilot for the First 10 Minutes: how an AI helper gathers triage evidence, and what it must never do alone.