mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 16:27:33 -10:00
devvm's host mise pin (internal/tools/mise.go's miseSHA256) has been the SHA-256 of mise's .tar.gz since mise was downloaded as its archive, and bump.sh mise writes it from SHASUMS256.txt's .tar.gz lines, but bump_e2e-tools still downloaded the raw binary (mise-v$v-$os-$a) and hashed it against that pin, so every e2e-tools run, the Pins workflow's --check included, stopped with "devvm's host mise ... doesn't match its pinned SHA-256". It now downloads mise-v$v-$os-$a.tar.gz, as miseURL does, checks it against the pin, and runs the mise/bin/mise it takes out. Its hashes, and e2e-from's and e2e-curl's digests, go through the script's sha256 helper rather than shasum, which Fedora lacks. bump.txtar's new case runs bump.sh mise and then e2e-tools on a release whose .tar.gz and raw binary have their own SHA-256s, as a real one does: the lock is resolved by the archive's mise, with dotnet's downloads and the mise.toml's SHA-256, and an archive that isn't the pinned one is refused before its mise runs. It failed on the old script with the Pins workflow's error. Co-Authored-By: Claude Opus 5.5 <[email protected]>