Files
devvm/testdata/script
w3cjandClaude Opus 5.5 c9998037a0 feat(gc): devvm gc deletes stale images and unused tool images
devvm gc deletes the images that devvm images lists as stale or
unfinished, on every backend, together with their records. It also deletes
the tool images it lists as unused, with their hashes. It lists everything
first and asks when run in a terminal. It holds the share's lock for the
whole run. VMs are never deleted. On Linux hosts, a stale image that
overlays use stays, with image_in_use.

- tools: Listed.File, Unused (List's unused rows) and Delete (tool
  image names only); Garbage and Tools.All go.
- build: DeleteKey. cli: listImages takes a builder and keeps each
  backend's.
- devvm images: images_stale_note and images_unused on stderr.
- Messages: gc_failed, nothing_to_clean, gc_images, gc_image,
  gc_unfinished, gc_tools, gc_confirm, nothing_deleted, deleted_tools;
  script_failed and tools_not_images_rm name devvm gc.
- Tests: gc.txtar (stale, unfinished, corrupt and key-less images, a
  project VM named like an image, tools in use, current and unused),
  TestDeleteStaleKeepsImagesInUse, TestUnusedAndDelete, TestConfigTools.
- e2e: a gc section. Docs: images.md (cleaning up), commands.md,
  contributing.md, the CLI reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 20:59:03 -06:00
..
2026-10-24 09:50:15 -06:00
2026-10-24 09:50:15 -06:00