Repository navigation
build: pin tools in mise.toml/mise.lock and Go in go.mod's toolchain line - #63
Merged
Merged
Conversation
…line The mise pilot for core ADR-0043 / Snowcat ADR-0076. mise.toml pins golangci-lint and enables reading Go from go.mod; mise.lock carries the per-platform URL and SHA256 (GitHub attestations verified at install; a tampered checksum is refused). go.mod moves to `go 1.26` + `toolchain go1.26.7`: the toolchain line is the exact build pin that mise, setup-go, and GOTOOLCHAIN=local all read, and `go mod tidy` drops a toolchain line equal to the go line, so the two cannot both say 1.26.7. The Makefile reads the linter pin from mise.toml and the Go pin from the toolchain line, and `make verify` refuses a golangci-lint built with an older Go than the toolchain — the gofmt flip-flop of 2026-08-24 as a one-line failure instead of a mystery. CI installs the locked tools with jdx/mise-action instead of sed-ing the Makefile. A missing tool says `mise install`. Co-Authored-By: Claude Fable 5 <[email protected]>
This was referenced Aug 24, 2026
build: pin tools in mise.toml/mise.lock and add lint-version-check (core ADR-0043)
frostyard/clix#81
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 3 of Snowcat's repository tooling rollout — the
stdpilot for core ADR-0043 / Snowcat ADR-0076.mise.tomlpinsgolangci-lint2.13.1 and enables Go fromgo.mod;mise.lockcarries per-platform URL + SHA256 (attestations verified at install; a tampered checksum is refused with expected/actual — tested).go.mod:go 1.26+toolchain go1.26.7. mise is deprecating reading thegodirective (removal 2026.11) and readstoolchain;go mod tidydrops a toolchain line equal to thegoline, so this is the only shape where the exact pin survives. setup-go andGOTOOLCHAIN=localread the same line.make verifygains the Go/lint order guard (a linter built with an older Go than the toolchain fails naming the fix); a missing tool saysmise install.jdx/mise-action(SHA-pinned v4.2.5) installs from the lock instead of sed-ing the Makefile.Verified locally under mise:
make verify→ 0 issues, tests ok, tree clean; guard fires on a fake older-Go linter;make lintfails without the tool.Risk tier: 2 — CI workflow change (
.github/workflows/**), build tooling only.🤖 Generated with Claude Code