Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Incident response

This is the first-15-minutes playbook. The exhaustive procedures live in the Production runbook and the alert-linked sections it contains.

First 5 minutes

  1. Confirm blast radius. Is the control plane down, a single worker, one provider, or one workflow?
  2. Check readiness, not just liveness.
    curl -fsS http://127.0.0.1:21434/health
    curl -fsS http://127.0.0.1:21434/ready
    zerg doctor
    
  3. Check worker registration and queues.
    zerg zmq-workers
    zerg agents
    zerg ps
    
  4. Check provider health and circuits.
    zerg circuits
    
  5. Preserve evidence before restarting. Capture logs and a support bundle:
    zerg support-bundle /tmp/zerg-support-$(date +%s) --log-dir <log-dir>
    

Symptom → action

SymptomLikely causeFirst action
/ready fails, /health passesEvent store, projection, or Mango dependency unhealthyRead the readiness payload; do not restart blindly
Workers disappear repeatedlyEnrollment/key mismatch, duplicate identity, or networkCheck sol_zmq_registration_refused_total{reason} and the worker log
Tasks stay pendingNo READY worker, model lane down, or dispatch outbox blockedzerg zmq-workers, zerg ps, inspect the model lane
Provider errors spikeKey exhaustion, circuit open, or upstream outagezerg circuits, check provider keys and fallback chain
5xx rate risesHandler crash or dependency failure; 500 is never expectedInspect Sol logs and the failing route; capture a support bundle
Mango login 503Mango down, migrating, or database unreachableCheck Mango /health and its database
Disk pressureEvent store, logs, or backupsCheck the disk tier alerts; prune only through the documented retention path

Escalation

Sev-1: control plane cannot serve any authenticated request, data loss risk, or a security boundary failure. Page the on-call owner and freeze deploys. Sev-2: one worker class, one provider, or one workflow family degraded. Mitigate with failover; schedule the root-cause fix. Sev-3: cosmetic, documentation, or single-tenant annoyance. Track it.

After the incident

Write a timeline with the exact commands and outputs. Identify the detection gap (which alert should have fired?). Add a regression test at the system boundary. Update the runbook and the alert link in the same change.

Next

Production runbook Observability Troubleshooting Backup & DR