Skip to content

fix(deps): build with Go 1.27.4 for its security fixes - #63

Merged
bketelsen merged 1 commit into
mainfrom
fix/go-1.27.4
Nov 11, 2026
Merged

bketelsen merged 1 commit into
mainfrom
fix/go-1.27.4

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

Build lodge and the kit with Go 1.27.4. Go 1.27.3 has GO-2026-6859 in net/http, fixed in Go 1.27.4; govulncheck reports it against go1.27.3.

  • go.mod: adds toolchain go1.27.4. The go 1.27.3 line stays the minimum (a dependency requires it; mise.toml says the go line is only the minimum and Go comes from the toolchain line).
  • kit/go.mod: toolchain go1.27.3 to toolchain go1.27.4. The go 1.27.0 minimum stays, so the apps that import the kit are not forced up. A dependency's toolchain line does not apply to its importers.
  • mise.lock: Go 1.27.4 with the sha256 of each archive from https://go.dev/dl/?mode=json (checked against the lock line by line).

CI's actions/setup-go (v7.0.0) reads go-version-file: go.mod or kit/go.mod, and so takes the toolchain line. No workflow changes.

No other 1.27.3 pin is in the repository: no .tool-versions, Containerfile or Go version in a workflow (grep -rn '1\.27\.3' leaves only the root go 1.27.3 minimum).

Risk tier

Risk tier: 3 — risk:high from 1 matched path:

  • mise.lock (glob {mise.toml,mise.lock}, L2, "the checksummed pins of golangci-lint, svu and nFPM"): only the [[tools.go]] block changes, from 1.27.3 to 1.27.4: the version, the specifier, the URLs on dl.google.com, and each checksum, which equals the sha256 that go.dev publishes for that file. The golangci-lint, svu and nFPM blocks are unchanged. Safe: it is a patch release of the same toolchain from the same origin, pinned by checksum.

Verification

  • make check green (host, go version go1.27.4 linux/amd64 from mise install)
  • make vulncheck at 0 reachable findings: "No vulnerabilities found." GO-2026-6859 is no longer reported. Unreachable module-level findings remain in golang.org/x/net and golang.org/x/crypto; they are out of this PR's scope.
  • go mod tidy in both modules leaves go.sum and kit/go.sum unchanged, and keeps the toolchain lines.
  • Revert test: exempt (a toolchain bump with no new behavior).

Go 1.27.4 fixes GO-2026-6859 in net/http, which govulncheck reports
in go1.27.3 (https://pkg.go.dev/vuln/GO-2026-6859).

Both modules now name toolchain go1.27.4. Their go lines stay the
minimums (go 1.27.3 for lodge, go 1.27.0 for the kit), as mise.toml
says. mise.lock pins go 1.27.4 with the checksums from go.dev/dl.
@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json labels Nov 11, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 11, 2026
@bketelsen
bketelsen merged commit 0e4a5bd into main Nov 11, 2026
10 checks passed
@bketelsen
bketelsen deleted the fix/go-1.27.4 branch November 11, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants