Repository navigation
spm: mise lock never records artifact bundle entries, so regenerating mise.lock drops them
#15631
What were you trying to do when you hit this?We were rebuilding our lockfiles, so we deleted What you ran# mise.toml
[settings]
lockfile = true
[tools]
"spm:nicklockwood/SwiftFormat" = "0.64.6"On a Mac where mise install
mise lock --platform linux-x64 spm:nicklockwood/SwiftFormat
MISE_DATA_DIR=$(mktemp -d) mise install spm:nicklockwood/SwiftFormatWhat happened
Existing entries survive I expected A possible pointer: Version2026.11.6 macos-arm64 (2026-11-10) |
Replies: 1 comment 1 reply
|
Thanks for the detailed report, this was a real gap: the spm backend never resolved its artifact bundle when locking, so #15646 fixes it. One caveat: whether the bundle has a binary for a given Swift target is only known from its AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable. |
Thanks for the detailed report, this was a real gap: the spm backend never resolved its artifact bundle when locking, so
mise lockhad nothing to write and a regeneratedmise.locklost the entries from other platforms.#15646 fixes it.
mise lock --platform linux-x64,macos-arm64now records the bundle'surl,url_apiandchecksumfor each requested platform (the bundle is one zip shared by all of them), andmise installfills them in too. Releases with no bundle,artifactbundle = falseand git revisions still record nothing, so source-built packages are unaffected and--lockedkeeps working for them.One caveat: whether the bundle has a binary for a given Swift target is only known from its
i…