Repository navigation
Bump Go to 1.26.7 (release-v1.42) - #5236
Merged
rene-dekker merged 1 commit intoAug 21, 2026
Merged
rene-dekker merged 1 commit into
rene-dekker merged 1 commit into
Conversation
Keeps the shipped operator binary on the newest 1.26.x stdlib. This is not a security bump. The August stdlib advisories were fixed in 1.26.6, which this branch already builds with, and Go 1.26.7 carries no Security section at all β its whole content is one net/http backport, golang/go#80927: ReadHeaderTimeout stayed armed after an unencrypted HTTP/2 (h2c) handoff, so a long-lived h2c connection could be torn down mid-stream once the header deadline elapsed. Changes: Makefile GO_VERSION?= 1.26.6 -> 1.26.7 go.mod, api/go.mod go directive 1.26.6 -> 1.26.7 The go directives move with GO_VERSION, matching the previous bump (1b0ff67). No dependency changes, so go.sum is untouched. calico/go-build already publishes 1.26.7-llvm21.1.8-k8s1.36.3, matching this branch's LLVM_VERSION and K8S_VERSION, so no go-build change is needed. That tag came from projectcalico/toolchain#886, merged and published on 2026-08-20. Release Note ------------ Built the operator image with Go 1.26.7, which fixes a net/http bug where ReadHeaderTimeout stayed active after an unencrypted HTTP/2 handoff. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates release-v1.42 to Go 1.26.7 across build configuration and Go modules.
Changes:
- Bumps
GO_VERSIONto 1.26.7. - Updates both module Go directives.
- No dependency or checksum changes.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
Makefile |
Updates the Go build version. |
go.mod |
Updates the root module Go directive. |
api/go.mod |
Updates the API module Go directive. |
π‘ Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
rene-dekker
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves
release-v1.42to the newest Go 1.26.x so the stdlib compiled into the shipped operator binary stays current.This is not a CVE bump. The August stdlib advisories (CVE-2026-39821, CVE-2026-46600) were fixed in Go 1.26.6, which this branch already builds with after #5202. Go 1.26.7 has no
Securitysection in the release history at all β its entire content is onenet/httpbackport, golang/go#80927:ReadHeaderTimeoutstayed armed after an unencrypted HTTP/2 (h2c) handoff, so a long-lived h2c connection could be torn down mid-stream once the header deadline elapsed.Flagging that explicitly because the previous two bumps on this branch were scan-driven and this one is not β it is routine currency, and worth taking on its own terms rather than waiting for the next scan.
Changes
MakefileGO_VERSION?=1.26.6 -> 1.26.7go.mod,api/go.modgodirective 1.26.6 -> 1.26.7Those are the only three places this branch pins a Go version β
GO_BUILD_VERandCALICO_BUILDderive fromGO_VERSION, and there is noGOTOOLCHAINoverride or separate lint image pin here (unlikerelease-v1.40, which carries both). Thegodirectives move withGO_VERSION, matching the previous bump (1b0ff67). No dependency changes, sogo.sumis untouched.No toolchain change needed
calico/go-buildalready publishes1.26.7-llvm21.1.8-k8s1.36.3, which matches this branch'sLLVM_VERSION(21.1.8) andK8S_VERSION(v1.36.3). That tag came from projectcalico/toolchain#886, merged 2026-08-20 17:48 UTC and published 19:23 UTC.Verified locally: the repo's pre-commit hook ran inside
calico/go-build:1.26.7-llvm21.1.8-k8s1.36.3-amd64while preparing this branch, and the image reportsgo version go1.26.7 linux/amd64.Other branches
Not touched here, for the record:
release-v1.40is onGO_VERSION?=1.25.13, so 1.25.14 is the bump that applies there. It also hasGOTOOLCHAIN=go1.26.6+autoand a separateCALICO_BUILD_LINTpinned tocalico/go-build:1.26.6-..., both of which would move to 1.26.7. Happy to raise that separately if wanted.master,release-v1.43andrelease-v1.43-2are all still on 1.26.5 and would need 1.26.6 first, which is the security bump β a different conversation from this one.Release note: