Files
devvm/internal/platform
w3cjandClaude Opus 5.5 e6929a3530 feat(disk): check free disk space before builds and new VMs
- platform.FreeSpace: statfs (Bavail * Bsize) on darwin and linux, the
  nearest existing folder for one not made yet; ErrUnsupported elsewhere
- backend.Storage (DiskDirs: Lima's home; smolvm's folder, and HOME on
  macOS; Docker none), backend.Space Check and Warning, floors FreeBase
  12 GiB, FreeImage 8, FreeTools 8, FreeVM 4, each commented with its
  measurement
- builds (base, other images), shared tool builds (also the data folder)
  and new VMs refuse below their floor before anything is made
  (disk_low); statfs errors carry their cause (disk_free_unknown); doctor
  warns below base's floor without failing (disk_low_warning)
- FreeSpace fields on build.Env, tools.Env and vm.Env; structure limits
  Lima 67, smolvm 72 for DiskDirs
- docs: ports-size Free space, troubleshooting Not enough free space,
  install requirements, docker, smolvm, design's open work; doctor's help
- tests: backend Space, build, tools, up, smolvm DiskDirs, platform

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 17:53:59 -07:00
..
2026-10-24 03:11:14 -06:00
2026-10-24 03:11:14 -06:00