Pin Go toolchain to 1.26.11

Merged
JE
14d ago
+14-1

Adds toolchain go1.26.11 beside the existing go 1.26.0 in go/go.mod and conformance/runner/go/go.mod, so CI (which selects Go via go-version-file) builds with 1.26.11 and clears GO-2026-6859 (net/http). The module's minimum Go version stays 1.26.0. Same shape as basecamp/basecamp-sdk#1088, which pinned only go/go.mod because its conformance runner says go 1.26.

Locally on go1.26.11: go build, go vet, go test ./... pass in go/; govulncheck v1.1.4 reports no vulnerabilities; the conformance runner builds.


Summary by cubic

Pins the Go toolchain to 1.26.11 in go/go.mod and conformance/runner/go/go.mod so CI builds with the patched net/http and clears GO-2026-6859. The module's minimum Go version stays 1.26.0 for consumers.

Updates go/Makefile's toolchain check so it accepts Go's auto-switched toolchain -- whether a go1.26.11 on PATH or a download under GOMODCACHE -- by comparing versions, while still failing on a stale GOROOT from another release.

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

The PR appears safe to merge; the installed-toolchain check is fixed and no new actionable issues were found.

Summary

Pins the SDK and conformance runner to prefer Go 1.26.11 while keeping the minimum at Go 1.26.0.

  • Go builds use Go 1.26.11 without raising the minimum version.

Reviews (3) · Last reviewed commit: "Accept any switched toolchain whose vers..." · Reviewed by Greptile