BitBootcampBitBootcamp ← all explainers 🔄 Review ⚙ Settings

DEVOPS-06-001-P · Primer — What Is a Production Incident?

The idea in one sentence

A production incident is any unplanned event that degrades a service enough to hurt real users or break a promise you made about the service, serious enough that someone has to stop normal work and coordinate a response right now.

Why it exists

Systems break constantly in small ways. A single disk fills up, one server restarts, a background job retries — none of that needs a fire drill. If we treated every hiccup as a five-alarm emergency, on-call would burn out in a week and nobody would trust the pager.

So teams draw a line. On one side: normal operations and routine bugs that go in the backlog. On the other side: incidents — situations where users are being harmed now and the response can't wait for the next sprint. The word "incident" is a shared signal. When someone says "we have an incident," everyone knows to drop what they're doing, join a coordinated response, and communicate clearly until it's resolved. Without that shared definition, one engineer quietly panics while everyone else assumes it's fine.

The definition also protects you legally and organizationally: many compliance and reliability commitments (SLAs — service level agreements) are written in terms of "incidents," so you need a crisp, agreed rule for what counts.

How it works

An incident is judged by impact, not by cause. This is the single most important distinction in the whole topic.

You declare an incident based on impact, because that's what the business and users care about — and because at the moment you declare, you almost never know the cause yet. A useful trigger question: "Is a customer-facing promise being broken, and does someone need to act now?" If yes, declare.

Most teams also assign a severity (often SEV1 through SEV4 or P1 through P4) so the response scales to the harm: a full outage (SEV1) pulls in more people and faster communication than a minor, single-feature glitch (SEV3).

Once declared, every incident moves through the same lifecycle — a repeatable set of phases:

  1. Detect — an alert fires or a human notices something is wrong.
  2. Declare — someone formally calls it an incident, sets a severity, and opens a channel.
  3. Respond — an Incident Commander coordinates while responders diagnose and mitigate (Google's SRE practice separates the command role from the hands-on-keyboard role so nobody is both driving and coding).
  4. Mitigate — stop the bleeding and restore service, even with a temporary fix. Restoring service comes before finding root cause.
  5. Resolve — impact is gone; the incident is closed.
  6. Learn — a blameless postmortem captures what happened and what to change so it doesn't recur.

The key mental model: detect → declare → respond → mitigate → resolve → learn, then feed the lessons back into the system.

The one gotcha

Do not chase root cause before you mitigate. The instinct of every engineer is to ask "why is this broken?" and start debugging. But during an incident, the goal is to stop the harm, not to understand it. If rolling back the last deploy makes checkout work again, roll back now — even if you have no idea what the bug was. Understanding the cause is the job of the postmortem, when the pressure is off and users are safe. Confusing "resolve the incident" with "find the root cause" keeps outages running for hours longer than they need to.

See it — the incident lifecycle

flowchart TD
    A["Something breaks<br/>in production"] --> B{"Impact on users<br/>or an SLO?"}
    B -->|No| C["Log it, backlog it<br/>(not an incident)"]
    B -->|Yes| D["Declare incident<br/>+ set severity"]
    D --> E["Respond<br/>(commander + team)"]
    E --> F["Mitigate<br/>(stop the bleeding)"]
    F --> G["Resolve<br/>(impact gone)"]
    G --> H["Learn<br/>(blameless postmortem)"]
    H --> I["Feed fixes back<br/>into the system"]

The one-line takeaway

An incident is defined by user impact, not by cause — declare on impact, mitigate before you diagnose, and run every one through the same detect-declare-respond-mitigate-resolve-learn lifecycle.

Where you'll meet it

You'll meet this the first night you're on call and your phone buzzes at 2 a.m. The pager doesn't tell you the cause — it tells you a promise is being broken. Interviewers love asking "walk me through what you do when you get paged," and the right answer starts with declaring based on impact and mitigating first. You'll also meet these terms in every SLA, status page, and postmortem you ever read.

Named concepts: incident definition, impact vs cause, declaring an incident, incident lifecycle