Files
devvm/scripts
w3cjandClaude Opus 5.5 3c7fbad7a3 feat(tools): mise downloaded as its .tar.gz, on the host and in base
mise's raw binary is 147 to 192 MB, its .tar.gz 51 to 63 MB. Both of a
first run's mise downloads now take the archive:

- the host's mise (internal/tools): the .tar.gz checked against its
  pinned SHA-256 by fetch.Download as before, into a folder of its own,
  then hashed again through the descriptor that mise/bin/mise is taken
  out of with archive/tar and compress/gzip, capped at miseCap. One
  devvm downloads it at a time (Dirs.MiseDownloadLock,
  cache/mise/download.lock, mise_waiting), and another takes what it
  kept. Under the lock, a .download-* folder a killed run left is taken
  away first (TestHostMise). A failure says its cause
  (mise_download_failed's Because) in the run log too.
- base's mise (layers/base.sh): devvm-fetch's .tar.gz, unpacked with tar
  in a folder of mktemp's, which every base has (gzip is Essential on
  Debian and Ubuntu, BusyBox has it): .tar.xz would need xz, which
  --from images may lack.

The pins are the archives' SHA-256s from the release's SHASUMS256.txt,
and scripts/bump.sh reads the .tar.gz lines. TestMisePins still checks
that base.sh's Linux pins are the host's.

Docs: images.md's Versions and overview.md's locks; the release page's
A faster first run; the CHANGELOG's Highlights, a first run that
downloads less with the cloud image's two lines, now highlights too.

Base's key changes (base.sh). Tool images' keys don't: they hash base's
mise version, not its checksum.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 22:53:34 -07:00
..