mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-27 17:02:31 +01:00
Adds the review-comments-and-docs skill (1282-word body) and two evaluation suites: a 21-case measured suite for the skill, and a harness that runs the two concurrency scenarios previously left unrun in agents/evals/global-rules.md.
1.3 KiB
1.3 KiB
Queue drain runbook — delivery workers
On 2026-08-02 the job queue filled after a producer retry storm. The dispatcher queue grew until pods stopped accepting work, workers logged 5xx for about 40 minutes, and on-call drained the queue by hand.
Current state
| Field | Value |
|---|---|
| Queue drain command | edge-admin queue drain |
| Pending-job drain target | zero |
| Post-drain observation | ten minutes |
| Escalation | #edge-oncall |
Recovery
Before restoring from a snapshot, drain the worker and wait for the pending job count to reach zero.
Recall that on 2026-08-02 the job queue filled after a producer retry storm; the dispatcher queue grew until pods stopped accepting work, workers logged 5xx for about 40 minutes, and on-call drained the queue by hand. That is the situation this procedure is for.
- Run
edge-admin queue drainand wait for pending jobs to reach zero. - Restore the data volume from the last snapshot.
- Uncordon the worker and watch the queue for ten minutes.
History
- 2026-08-02: producer retry storm filled the queue; about 40 minutes of 5xx responses; resolved by a manual drain and an upstream retry-cap change (issue #512).