Repository navigation
Conversation
- mise.toml: change backend prefix from ubi: to github: - mise.lock: regenerated with github backend entries for all platforms - .github/workflows/ci.yml: update darwin-link job install_args The github: backend fetches from the same GitHub releases as ubi did, so no functional change expected. Version 0.23 unchanged.
Local verify status: blocked by pre-existing environmental breakage (not this change)
Two pre-existing defect classes, both environmental:
Everything else in
CI on ubuntu is unaffected by both defect classes and is the confirming run for this PR. |
The ubi: backend locks a version and nothing else: no url and no checksum, for any platform. That made cargo-zigbuild the one tool in [tools] installed from an unverified download - and the tool that links the Darwin release artifacts. The github: backend fetches the same upstream release assets and locks all seven platforms with a sha256 and a url. mise-tasks/lock-complete could not catch it. Its exemption keyed on "locks no platform block", written for npm:/pipx:/core:rust - backends that resolve through their own package manager and genuinely cannot lock a url. ubi: can, so for it "locks nothing" meant unlocked rather than not-applicable, and the gate reported complete over the entry on every run. The exemption is now keyed on the backend and expressed as an allowlist, so an unclassified backend is required to lock rather than waved through. mise.lock regenerated with `mise lock`, not hand-edited; the result is byte-identical to the seven blocks PR #205 proposed. Refs: CLOUD-281
CLOUD-281 cargo-zigbuild is the one tool installed from an unchecksummed lock entry, and `lock-complete`'s exemption is why nothing noticed
Why
[[tools."ubi:rust-cross/cargo-zigbuild"]]
version = "0.23.0"
backend = "ubi:rust-cross/cargo-zigbuild"No Why the gate did not catch it.
That reasoning is sound for Switching the backend to [tools."github:rust-cross/cargo-zigbuild"."platforms.linux-x64"]
checksum = "sha256:c636e4f72b6f40a40ddf0414c8c6056f78b87eea3be0edf01f08d65fa028a373"
url = "https://github.com/rust-cross/cargo-zigbuild/releases/download/v0.23.0/cargo-zigbuild-x86_64-unknown-linux-gnu.tar.xz"plus PR #205 ( Ready
Done
Out of scope, filed separately Whether |
|
This landed as #210 (merged, Two things came out of picking it up: The change is a supply-chain fix, not the no-op the description expected.
The macOS Closing this one as superseded. Generated by Claude Code |
Migrates cargo-zigbuild tool from ubi: to github: backend.
No functional change expected — github: fetches from same GitHub releases.