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
- Confirm blast radius. Is the control plane down, a single worker, one provider, or one workflow?
- 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 - Check worker registration and queues.
zerg zmq-workers zerg agents zerg ps - Check provider health and circuits.
zerg circuits - Preserve evidence before restarting. Capture logs and a support bundle:
zerg support-bundle /tmp/zerg-support-$(date +%s) --log-dir <log-dir>
Symptom → action
| Symptom | Likely cause | First action |
|---|---|---|
/ready fails, /health passes | Event store, projection, or Mango dependency unhealthy | Read the readiness payload; do not restart blindly |
| Workers disappear repeatedly | Enrollment/key mismatch, duplicate identity, or network | Check sol_zmq_registration_refused_total{reason} and the worker log |
| Tasks stay pending | No READY worker, model lane down, or dispatch outbox blocked | zerg zmq-workers, zerg ps, inspect the model lane |
| Provider errors spike | Key exhaustion, circuit open, or upstream outage | zerg circuits, check provider keys and fallback chain |
| 5xx rate rises | Handler crash or dependency failure; 500 is never expected | Inspect Sol logs and the failing route; capture a support bundle |
| Mango login 503 | Mango down, migrating, or database unreachable | Check Mango /health and its database |
| Disk pressure | Event store, logs, or backups | Check 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