Files
devvm/testdata/script
w3cjandClaude Opus 5.5 bc00ebc088 test(vm): housekeeping never deletes 0.1.0 state
fixture_v010_housekeeping.txtar runs today's housekeeping on 0.1.0's
frozen state: a launch whose daily retention is due (0.1.0's
retention.run made older than a day, and touched by the launch), then
devvm gc --force, devvm gc --orphans --tool-images --retention --force,
devvm space --json and devvm doctor. Every VM's vm.json and run folder
stays, every shared tool image a state's tools.made.files names stays
(the list read from the states before anything runs), no limactl
delete names a project VM, devvm ls, devvm space and Lima still list
all four, and nothing says unreadable or corrupt. A copy of a tool
image under a name no state has goes, the control that gc could delete
one. On Linux, 0.1.0's VMs' disks are modelled as it made them, qcow2
overlays of the image's disk (the fixture keeps no disks; the stub's
qemu-img info reads the backing file), and gc keeps 0.1.0's base image
with image_in_use; on macOS it deletes it, an older base than today's.
Nothing found to fix.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 19:59:14 -07:00
..