Running It · Chapter 2 of 3 · 3 min

Incidents on a Small Site

Detect, decide, restore, understand, prevent. A calm method for when something breaks, sized for one person, with a blameless write-up at the end.

What counts as an incident

An incident is anything that hurts visitors or risks data and needs action now: the site down, a section erroring, payments not granting access, wrong data being written. A typo is not an incident. Treating everything as an emergency is its own problem.

The method in five steps

1. Detect

You hear about it from an alert, a health blocker, a visitor message, or your own eyes. Note the time you noticed. That timestamp anchors everything after it.

2. Decide how bad it is

Three questions:

If data is at risk, stopping the cause comes before everything else, even before restoring service.

3. Restore service

The aim is to make it stop hurting, not to understand it yet:

Write down each action and its time as you go, in the task or in a plain text note. Under pressure, memory is unreliable.

4. Understand

With service restored, find the cause:

Ask why more than once. "The build failed" is a symptom. "The build failed because a test needed a tool the build image does not have, and nothing told anyone" is a cause with two fixes.

5. Prevent

Each incident should leave the system stronger. Typical outcomes:

The write-up

A short, blameless note, written within a day or two:

Heading Content
What happened Two or three sentences, in plain words
Impact Who was affected, for how long, any data involved
Timeline Noticed, decided, restored, resolved, with times
Cause The chain of causes, not a person
What went well Worth keeping
Actions Each one with an owner and a task

Blameless does not mean nobody made a mistake. It means the write-up asks how did the system allow this? rather than who did this? On a one-person site that matters too: it is how you avoid concluding "be more careful", which never fixes anything.

Examples from this site

Problem Cause Lasting fix
Merges silently not deployed Tests needed Git; the build image had none; nobody was told Tests skip without Git; post-deploy check of the live commit
Health dashboard full of false blockers The checker picked private pages that rightly refused it Private pages excluded by rule, with a test
Some likes lost under load One shared list rewritten by many requests at once One document per like count with atomic updates; a 25-at-once test
Saves failing in the dashboard The database refuses arrays inside arrays A small wrapper for nested rows, tested against a fake that refuses the same

None was dramatic. Each left a test or a guard behind, which is the point.

Try it yourself

Think of the last time something broke on a system you look after. Write the six-row table for it, even months later. If the Actions row is empty, the incident can happen again.