Files
bot-bottle/bot_bottle/backend/firecracker
didericis 06d293fbd5
lint / lint (push) Failing after 30s
test / stage-firecracker-inputs (pull_request) Successful in 2s
test / integration-docker (pull_request) Successful in 21s
test / unit (pull_request) Failing after 30s
tracker-policy-pr / check-pr (pull_request) Failing after 31s
test / build-infra (pull_request) Failing after 31s
test / integration-firecracker (pull_request) Has been skipped
test / coverage (pull_request) Has been skipped
test / publish-infra (pull_request) Has been skipped
fix(firecracker): remove per-bottle run dir on teardown
Each Firecracker bottle created its run dir (holding an ~1G
rootfs.ext4) but never removed it — launch teardown only terminated
the VM. Every run leaked its rootfs, filling the CI runner's disk
(187 stale sandbox-tester dirs / 141G in one incident).

Register a run-dir rmtree callback on the ExitStack before the
vm.terminate callback so, LIFO, the VM is gone before its rootfs is
removed. ignore_errors keeps teardown resilient.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 21:24:35 -04:00
..