Skip to content

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

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

Go 1.27.3 has GO-2026-6859 in net/http, and govulncheck reports it. Go 1.27.4 fixes it. This PR moves every Go 1.27.3 pin to 1.27.4:

  • go.mod: go 1.27.4. CI's setup-go reads it (go-version-file: go.mod) in ci.yml, images.yml and release.yml, so release binaries build with 1.27.4. No toolchain line, as AGENTS.md says.
  • mise.toml: go = "1.27.4", aligned with go.mod.
  • mise.lock: version, URLs and SHA256 checksums of the Go 1.27.4 archives.
  • site/content/contributing/build.md, site/content/getting-started/install.md: the build minimum is now Go 1.27.4.

The 1.27.3 values in scripts/test_lint_version_check.py and .memory/corrections.jsonl stay: the first are synthetic test inputs and the second is an append-only record.

Risk tier

Risk tier: 3 — security fix, and the PR touches 2 L1 risk paths.

Matched risk paths and why the change is safe:

  • mise.toml (L1, update verification): only the Go pin changes, from 1.27.3 to 1.27.4. The golangci-lint, svu and Node pins do not change. CI installs Go through setup-go from go.mod, and installs only golangci-lint and Node from mise.
  • mise.lock (L1, update verification): only the [[tools.go]] block changes. Each checksum equals the sha256 that https://go.dev/dl/?mode=json&include=all publishes for the go1.27.4 archive, and mise lock go produces the same file byte for byte. The linux-amd64 archive was also downloaded and checked with sha256sum.

Docs housekeeping

No new docs. The 2 site pages change with the build minimum they describe.

Verification

  • make verify green (in make check and make ci, with go version go1.27.4 linux/amd64)
  • make ci green (race tests with coverage, cross builds)
  • go run golang.org/x/vuln/cmd/[email protected] ./...: no vulnerabilities found (GO-2026-6859 is gone)
  • make site green (strict build)

Go 1.27.3 has GO-2026-6859 in net/http, which govulncheck reports.
Go 1.27.4 fixes it. Move the go directive, the mise pin, its locked
checksums and the documented build minimum to 1.27.4.
@github-actions github-actions Bot added level:L1 Read every line risk:high Touches a path in .github/risk-paths.json (core ADR-0068) 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
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review: Ready, Blocking: none. Reviewer openai/gpt-6.1-sol, coder deepseek/deepseek-flash. Base e6f9cb2, head 573eb9f. Scope: all 5 changed paths; mise.toml and mise.lock (L1) read first. Findings: none. Revert test: exempt (toolchain bump, no new behavior).

@bketelsen
bketelsen merged commit fe437db into main Nov 11, 2026
7 checks passed
@bketelsen
bketelsen deleted the fix/go-1.27.4 branch November 11, 2026 17:48
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 path in .github/risk-paths.json (core ADR-0068)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants