Files
devvm/docs
w3cjandClaude Opus 5.5 36f4d0ab21 feat(gc): a backend that can't list its images is skipped with a warning
When a backend that a VM's state names can't list its images, gc warns
(gc_backend_skipped, linked to Cleaning up) with its Check's error, else
its listing's, and leaves everything of that backend's alone: its
images (not listed), its unused and current shared tool images and
those whose backend devvm can't tell, its orphans (moved to the backends
that couldn't be asked, so gc_orphans_unknown names it) and, with
--caches, its cache. gc goes on with the other backends and succeeds.
devvm images still fails, as it lists every backend's or none.

listImages returns an imageListing (images, tools, unlisted backends);
images uses its failUnlisted, gc's planGC its skip, withoutSkipped and
the skipped set gcRun hands to gcCaches.

Tests: TestWithoutSkipped; gc_skipped.txtar (Lima's stale image and
tool deleted, smolvm's and an unknown backend's tool kept, the smolvm
VM's state kept, gc succeeds, devvm images fails); gc_orphans.txtar's
end. Docs: using/images.md's Cleaning up, using/space.md's leftovers,
gc's help and the CLI reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 16:50:19 -07:00
..