Skip to content

Bump Go to 1.26.7 (release-v1.42) - #5236

Merged
rene-dekker merged 1 commit into
tigera:release-v1.42from
dimitri-nicolo:dimitri-bump-go-1.26.7-v1.42
Aug 21, 2026
Merged

rene-dekker merged 1 commit into
tigera:release-v1.42from
dimitri-nicolo:dimitri-bump-go-1.26.7-v1.42

Conversation

@dimitri-nicolo

Copy link
Copy Markdown
Contributor

Moves release-v1.42 to 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 Security section in the release history at all β€” its entire 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.

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

File
Makefile GO_VERSION?= 1.26.6 -> 1.26.7
go.mod, api/go.mod go directive 1.26.6 -> 1.26.7

Those are the only three places this branch pins a Go version β€” GO_BUILD_VER and CALICO_BUILD derive from GO_VERSION, and there is no GOTOOLCHAIN override or separate lint image pin here (unlike release-v1.40, which carries both). The go directives move with GO_VERSION, matching the previous bump (1b0ff67). No dependency changes, so go.sum is untouched.

No toolchain change needed

calico/go-build already publishes 1.26.7-llvm21.1.8-k8s1.36.3, which matches this branch's LLVM_VERSION (21.1.8) and K8S_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-amd64 while preparing this branch, and the image reports go version go1.26.7 linux/amd64.

Other branches

Not touched here, for the record:

  • release-v1.40 is on GO_VERSION?=1.25.13, so 1.25.14 is the bump that applies there. It also has GOTOOLCHAIN=go1.26.6+auto and a separate CALICO_BUILD_LINT pinned to calico/go-build:1.26.6-..., both of which would move to 1.26.7. Happy to raise that separately if wanted.
  • master, release-v1.43 and release-v1.43-2 are 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:

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.

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>
Copilot AI lite review requested due to automatic review settings August 21, 2026 00:19
@dimitri-nicolo
dimitri-nicolo requested a review from a team as a code owner August 21, 2026 00:19
@marvin-tigera marvin-tigera added this to the v1.42.5 milestone Aug 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates release-v1.42 to Go 1.26.7 across build configuration and Go modules.

Changes:

  • Bumps GO_VERSION to 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
rene-dekker merged commit 9a14526 into tigera:release-v1.42 Aug 21, 2026
6 checks passed
@dimitri-nicolo
dimitri-nicolo deleted the dimitri-bump-go-1.26.7-v1.42 branch August 21, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants