Skip to content

chore: bump Go to 1.26.6 - #57

Merged
stubbi merged 3 commits into
mainfrom
chore/go-1.26.6
Aug 25, 2026
Merged

chore: bump Go to 1.26.6#57
stubbi merged 3 commits into
mainfrom
chore/go-1.26.6

Conversation

@stubbi

@stubbi stubbi commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

govulncheck fails on every open PR with five Go stdlib vulnerabilities (GO-2026-6218, GO-2026-6090, GO-2026-6089, GO-2026-5972, GO-2026-5026) that are present in go1.26.5 and fixed in go1.26.6. CI resolves its toolchain from go.mod (go-version-file), so bumping the go directive clears the check for the repo and all open PRs once they pick up the new merge ref.

Verified locally with go1.26.6: go build ./... and go test -count=1 ./... green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FJnTGiMuTJSFUVRRqjfTbV

stubbi and others added 2 commits August 25, 2026 15:30
govulncheck fails on every open PR with five stdlib vulnerabilities
(GO-2026-6218, GO-2026-6090, GO-2026-6089, GO-2026-5972, GO-2026-5026)
present in go1.26.5 and fixed in go1.26.6. CI resolves the toolchain
from go.mod, so bumping the directive clears the check everywhere.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FJnTGiMuTJSFUVRRqjfTbV
vendor-core-crds resolved the module directory with 'go list -m', which
does not download the module. On a cold module cache — any PR that
changes go.mod/go.sum misses the setup-go cache — .Dir is empty and the
copy fails with cp: cannot stat '/pkg/apis/crds/...'. This is why the
generate job failed on dependabot bumps. Download the module first and
fail loudly if the dir still cannot be resolved.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FJnTGiMuTJSFUVRRqjfTbV
@stubbi

stubbi commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Pushed a second commit: the generate failure on this PR (and on dependabot bumps like #49) is a latent Makefile bug — vendor-core-crds resolves the module dir with go list -m, which doesn't download the module, so on a cold module cache (any PR changing go.mod/go.sum misses the setup-go cache) .Dir is empty and the copy fails. Now downloads the module first and guards the empty case.

Review caught that 1.26.6 was already superseded by 1.26.7 within its
minor line. Pin the Dockerfile builder to golang:1.26.7-alpine so the
shipped binary is built with the toolchain CI tests with (official
golang images set GOTOOLCHAIN=local, so a floating 1.26-alpine tag can
lag go.mod and hard-fail the release build). Record both changes under
[Unreleased].

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FJnTGiMuTJSFUVRRqjfTbV
@stubbi
stubbi merged commit 0bc9319 into main Aug 25, 2026
6 checks passed
@stubbi
stubbi deleted the chore/go-1.26.6 branch August 25, 2026 13:52
@stubbi stubbi mentioned this pull request Aug 26, 2026
stubbi added a commit that referenced this pull request Aug 26, 2026
Chart 2.1.1 / appVersion 2.1.1. Ships the events.k8s.io RBAC grant
(#52), the Go 1.26.7 toolchain rebuild clearing five stdlib CVEs (#57),
and dependency bumps (karpenter 1.14.1, hcloud-go 2.47.0, k8s.io
0.36.4) (#58).


Claude-Session: https://claude.ai/code/session_01FJnTGiMuTJSFUVRRqjfTbV

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant