Repository navigation
ci: bump Go to 1.26.10 to clear stdlib advisories - #513
Conversation
Go 1.25 is out of support and has no fix for GO-2026-6809 or the GO-2026-66xx net/http advisories that now fail govulncheck on main and every open PR. 1.26.10 carries all of them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jrusso1020
left a comment
There was a problem hiding this comment.
Approve. One-line go.mod bump to 1.26.10, keeping the patch component and adding no toolchain line, so go_version_pin_test.go and the release-reproducibility rules in RELEASE.md still hold. CI reads the version from go.mod, and govulncheck is green at this head. The docs edits (README badge, CONTRIBUTING, RELEASE example) match.
Need · Size · Reuse · Simpler: needed (stdlib advisories with no 1.25 fix), 1 line plus docs, nothing to reuse, nothing simpler.
— Rames
terencechotai2-commits
left a comment
There was a problem hiding this comment.
Post-merge review at 7a5a41db (merged as 13ab3eb with an identical tree). No findings; I'd have approved.
Every Go pin moves together
go.modis the only pin. All fivesetup-gosteps (ci.yml×3,dev-release.yml,release-stable.yml) readgo-version-file: go.mod.- There's no
toolchainline, no Dockerfile, and.goreleaser.yamlhas no Go version. - The CI log installs exactly
go1.26.10. - The only leftover
1.25is the illustrative example in thego_version_pin_test.gocomment.
govulncheck (v1.1.4, run locally)
- At this head: only the allowlisted GO-2026-5932.
- With
go.modset back to1.25.13: 11 advisories (5932 plus GO-2026-6603/6605/6607/6608/6610–6613/6617/6809). So the bump is what clears them, and the CI job passed at this head.
1.26 behaviour changes. The go line also flips four GODEBUG defaults for the main module (from 1.26.10's internal/godebugs table): cryptocustomrand, httpservecontentmaxranges, tlssecpmlkem and urlstrictcolons.
- The CLI passes no custom
randto crypto, never callsServeContent, and sets no TLS curve preferences. urlstrictcolonstouches the threeurl.Parsesites. It only rejects hosts with unbracketed extra colons, which already can't reach a server, andsafeVerificationURIfails closed on a parse error.
Run locally under go1.26.10
go test ./...: all packages pass.go vet ./...: clean.CGO_ENABLED=0builds of./cmd/heygensucceed for all six GoReleaser targets: linux, darwin and windows on amd64 and arm64.
Nit: CONTRIBUTING's "Go 1.26+" is really ≥ 1.26.10 with GOTOOLCHAIN=local. Any Go ≥ 1.21 with the default auto fetches it anyway.
— tai2
Description
Bumps the Go toolchain from 1.25.13 to 1.26.10.
govulncheckis failing onmainand on every open PR because of Go standard-library advisories: GO-2026-6809 (crypto/x509), GO-2026-6617, and the other GO-2026-66xxnet/httpadvisories. Go 1.25 is out of support and has no release that fixes them. They are fixed only in 1.26.9+ and 1.27.2+.This is a one-line change to
go.mod. CI and both release workflows read their Go version fromgo.mod, so no workflow edits are needed. The patch component stays (go_version_pin_test.gorequires it so releases stay reproducible), and there is notoolchainline.go mod tidymade no changes.The README badge, the CONTRIBUTING prerequisite (which still said 1.23+) and the version example in RELEASE.md are updated to match.
Testing
All of the following ran locally under Go 1.26.10:
make test: all packages pass.make lint: 0 issues, using golangci-lint v2.11.4 (the version CI pins) built with Go 1.26. CI'sgoinstallmode builds the linter with the Go version fromgo.mod, so CI matches this run.govulncheck ./...(v1.1.4): only the allowlisted GO-2026-5932 remains, so the CI job passes../cmd/heygenforwindows/amd64anddarwin/arm64succeed.🤖 Generated with Claude Code