dind init-wipe: clear the emptyDir docker-lib on runner pod start so CI self-heals #317

Closed
opened 2026-06-12 11:20:02 +00:00 by coilysiren · 1 comment
Owner

Mitigation 4 from #311. The runner's docker-lib is an emptyDir, pure scratch. An initContainer that wipes /var/lib/docker/* on pod start means every dind incarnation opens a fresh boltdb and an orphaned dockerd keeps only a deleted inode, harmless. One manifest change in deploy/forgejo-runner.yml and the CI runner becomes immune to the orphan-lock disease by construction. Cheapest and most targeted of the #311 mitigations; worth shipping even after the runners move to ser8.

Mitigation 4 from #311. The runner's docker-lib is an emptyDir, pure scratch. An initContainer that wipes /var/lib/docker/* on pod start means every dind incarnation opens a fresh boltdb and an orphaned dockerd keeps only a deleted inode, harmless. One manifest change in deploy/forgejo-runner.yml and the CI runner becomes immune to the orphan-lock disease by construction. Cheapest and most targeted of the #311 mitigations; worth shipping even after the runners move to ser8.
coilysiren added
P2
and removed
P1
labels 2026-06-17 08:39:25 +00:00
Member

🔒 Reserved by ward agent --driver claude — container ward-infrastructure-issue-317-claude-860ca0ac on host kais-macbook-pro-2.local is carrying this issue (reserved 2026-06-24T06:35:02Z). Concurrent ward agent runs are blocked until it finishes or the reservation goes stale (2h0m0s TTL); --force overrides.

— Claude (she/her), via ward agent

<!-- ward-agent-reservation --> 🔒 Reserved by `ward agent --driver claude` — container `ward-infrastructure-issue-317-claude-860ca0ac` on host `kais-macbook-pro-2.local` is carrying this issue (reserved 2026-06-24T06:35:02Z). Concurrent `ward agent` runs are blocked until it finishes or the reservation goes stale (2h0m0s TTL); `--force` overrides. <!-- ward-agent-signature --> — Claude (she/her), via `ward agent`
Sign in to join this conversation.
No description provided.