Skip to content

build: move go.mod to Go 1.27.4, the fleet toolchain (baseline B11) - #109

Merged
bketelsen merged 2 commits into
mainfrom
lucilla/97-go-1-27
Nov 14, 2026
Merged

bketelsen merged 2 commits into
mainfrom
lucilla/97-go-1-27

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 14, 2026 •

Copy link
Copy Markdown

Summary

Moves go.mod to the fleet toolchain, Go 1.27, as the
core repository-baseline spec, row B11
and the frostyard-go-repo skill's "Fleet toolchain" table require
(go 1.27.<patch>, a full version, the only Go pin). The golangci-lint half
of the row already holds: mise.toml pins 2.15.0, the fleet pin.

  • go.mod: go 1.27.4; the toolchain go1.26.10 line goes, so the go
    line is the only Go pin (as in frostyard/chairlift and frostyard/pilothouse).
    CI and release read it through actions/setup-go go-version-file: go.mod.
  • mise.lock: mise lock regenerated the Go entry for 1.27.4; all 7
    platform checksums match go.dev. No other tool entry changes.
  • Makefile: GO_TOOLCHAIN (read from the removed toolchain line)
    becomes GO_MOD_VERSION, read from the go line. lint-version-check
    now compares the major.minor only: golangci-lint 2.15.0 is built with
    go1.27.0, go.mod is 1.27.4, and a patch difference does not change gofmt
    output. A golangci-lint built with an older minor still fails the check.
  • Docs: docs/design/ci-cd.md, docs/design/overview.md,
    docs/guides/usage.md and .claude/session-summary.md describe the new pin.

Go 1.27 brings no new lint, vet or test finding; no Go code changes.

Fixes #97

Checks

  • make check — formats, then runs the verify gate: tidy, vet, gofmt, lint at the mise pin, docs integrity, unit tests (local, Go 1.27.4, 0 lint issues)
  • make ci — or a green CI run (Docker is not available locally; CI runs it)
  • Generator/scanner/signer changes: make test-integration green (no generator change; CI runs the suite)

Also run locally: make build, make vuln (no reachable vulnerability),
make test-race, make build-cross, and make lint-version-check (passes;
with GO_MOD_VERSION=1.28.0 it fails as intended).

Risk tier

  • Tier 1: Low
  • Tier 2: Moderate
  • Tier 3: High
  • Tier 4: Critical

Rationale: the PR touches risk paths (.github/risk-paths.json,
{Makefile,mise.toml,mise.lock}, L1):

  • Makefile: only the Go pin variable and lint-version-check change. The
    check still demands the exact mise.toml golangci-lint pin and still
    rejects a golangci-lint built with a Go minor older than go.mod's; it
    stops comparing patch levels only. make bump, svu and the release
    targets do not change.
  • mise.lock: only the Go entry changes (1.26.10 to 1.27.4), with the
    go.dev checksums. CI takes Go from actions/setup-go, not from mise; the
    golangci-lint, node and svu entries are unchanged.

No workflow, signing, release or publish path changes. Release binaries
build with Go 1.27.4 from the next tag on.

Docs housekeeping

  • Conformance aliases (ADR-0012) untouched — canonical targets edited
    instead

Verification

  • node scripts/check-docs.mjs green (also inside make check)

Cross-review

  • Reviewer openai/gpt-6.1-sol; coder Anthropic Claude.
  • Initial review at a07c4c1f4c76590ddb6bc425107bbeeac0bcdff2 (base b285fb289b03760cacd67e127ea657b19a03757a): Ready, blocking none. 1 low finding: test/README.md still named Go 1.26+; fixed in ad40a03.
  • Re-review 1 at ad40a03d0aaf98a43d1ae6248a5229a409ef09e7: Ready, blocking none, no findings.
  • Revert test: exempt (toolchain pin and docs change; no new behavior). make lint-version-check was shown to fail with GO_MOD_VERSION=1.28.0.

go.mod's go line is now the only Go pin (go 1.27.4, no toolchain line),
as the frostyard-go-repo skill's Fleet toolchain table names. mise.lock
follows; lint-version-check reads the go line and compares only the Go
minor that golangci-lint 2.15.0 was built with (go1.27.0).

Fixes #97
@github-actions github-actions Bot added level:L1 Read every line risk:high Touches a high-risk path (ADR-0068) labels Nov 14, 2026
@codecov

codecov Bot commented Nov 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 14, 2026
@bketelsen
bketelsen added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 5f0d181 Nov 14, 2026
5 checks passed
@bketelsen
bketelsen deleted the lucilla/97-go-1-27 branch November 14, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L1 Read every line ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a high-risk path (ADR-0068)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sweep: repogen/baseline-B11 go.mod is on Go 1.26, the fleet toolchain is Go 1.27

2 participants