Skip to main content

Runbooks

Step-by-step operational procedures for handling incidents, performing maintenance, and recovering from failures. Runbooks are written for engineers who are under pressure and may not have full context — they should be executable without having to read reference docs first.

What belongs here​

  • Incident response procedures (service down, high error rate, database issue)
  • Maintenance procedures (rotating secrets, deploying a hotfix, scaling a service)
  • Recovery procedures (restoring from backup, re-running a failed job)

What does not belong here​

  • Background explanation of how a system works → ../reference/
  • How to do a development task → ../how-to/
  • Why a decision was made → ../adr/

Format conventions​

Each runbook should follow this structure:

  1. Symptoms — how you know you need this runbook
  2. Impact — what is broken and who is affected
  3. Steps — numbered, imperative, executable commands and actions
  4. Verification — how to confirm the issue is resolved
  5. Escalation — who to contact if the runbook does not resolve it

Runbooks​

RunbookUse it when
Release the Backend to ProdA staging commit is ready to ship
Release the Web and Desktop AppsA commit staging ran is ready to ship to the web and desktop apps
Hotfix the Web and Desktop AppsA bug in the prod web or desktop app can't wait for the next release
Roll Back a DeployA backend or web app deploy broke something and a fix can't ship quickly
Deploy Failed: verify Is RedA staging deploy, a promote or a qubital-infra change ends red
Rotate a SecretA secret, in Northflank or in the release's GitHub secrets, may be compromised or must change
Northflank Break-GlassA fix can't wait and the GitOps path is down
Doc-Bot Credentials & RotationThe doc-update bot's App key must change