Skip to content

fix(deps): move release-1.4 to Go 1.26 and apply pending dependency bumps - #846

Merged
jkopriva merged 3 commits into
release-1.4from
fix/release-1.4-go-deps-go1.25
Nov 4, 2026
Merged

jkopriva merged 3 commits into
release-1.4from
fix/release-1.4-go-deps-go1.25

Conversation

@anithapriyanatarajan

@anithapriyanatarajan anithapriyanatarajan commented Nov 2, 2026 •

Copy link
Copy Markdown

Summary

Moves release-1.4 to Go 1.26 and applies the dependency bumps that Renovate's #684 could not land. #684 stays open until the Renovate rules are fixed.

The go-toolset:9.8 builder already ships Go 1.26.10, and main / release-1.5 already use go 1.26.0. Only the go directive in go.mod held this branch on 1.25.

Changes

  • go 1.25.9 -> go 1.26.0
  • Bumps from chore(deps): update go dependencies #684: mysql 1.10.1, pgx 5.11.0, client_golang 1.25.0, client_model 0.6.3, x/crypto 0.58.0, x/sync 0.24.0, x/sys 0.49.0, x/tools 0.52.0, grpc 1.85.0, protobuf 1.36.12, k8s.io/{api,apimachinery,client-go} 0.37.2, k8s.io/utils
  • Extra vulnerability fixes: golang.org/x/net v0.60.0 (GO-2026-6617, 6612, 6611, 6610, 6603), otel v1.45.0 (GO-2026-6505)
  • govulncheck.yml: the action's go-version-input defaults to stable and overrides go-version-file, so CI scanned on Go 1.27 and failed loading kube-openapi. Pinned to 1.26.
  • Not taken from chore(deps): update go dependencies #684: the go-grpc-middleware v1 -> v2 and yaml.v2 -> yaml.v3 swaps (they need code changes and are unrelated to the toolchain).

Verification (Go 1.26.10, module checksums enforced)

go mod tidy, go mod verify, go build ./..., go vet ./... pass. Unit tests pass except those needing a local MySQL. Integration tests run in CI.

govulncheck: only github.com/docker/docker (GO-2026-4887, 4883) remains. It has no fixed version and is pulled in only by experimental/batchmap via apache/beam.

Later additions

x/net v0.62.0 (CVE-2026-78661); x/tools v0.52.0, otel v1.47.0, go-jose v4.1.6, klauspost/compress v1.20.3, prometheus/common v0.73.0.
genproto is intentionally not bumped: the newer monolith no longer provides packages that opencensus/stackdriver imports, so the build breaks.

@anithapriyanatarajan anithapriyanatarajan changed the title fix(deps): update go dependencies compatible with Go 1.25.9 fix(deps): move release-1.4 to Go 1.26 and apply pending dependency bumps Nov 3, 2026
@tommyd450

Copy link
Copy Markdown

/retest

@anithapriyanatarajan
anithapriyanatarajan force-pushed the fix/release-1.4-go-deps-go1.25 branch from 1abd030 to dd8a301 Compare November 3, 2026 13:45
@anithapriyanatarajan
anithapriyanatarajan force-pushed the fix/release-1.4-go-deps-go1.25 branch from a41b6e2 to 41d9653 Compare November 4, 2026 09:21
…umps

Aligns go.mod with the go-toolset 9.8 builder (Go 1.26.10), main and
release-1.5. Applies the bumps from #684 plus golang.org/x/net v0.60.0
and otel v1.45.0, and pins govulncheck to Go 1.26 (the action's
go-version-input defaults to stable and overrides go-version-file).

Signed-off-by: Anitha Natarajan <anataraj@redhat.com>
Signed-off-by: Anitha Natarajan <anataraj@redhat.com>
x/tools v0.52.0, otel v1.47.0, go-jose v4.1.6, klauspost/compress v1.20.3,
prometheus/common v0.73.0. genproto is left unchanged: the newer monolith
no longer provides packages that opencensus/stackdriver imports.

Signed-off-by: Anitha Natarajan <anataraj@redhat.com>
@anithapriyanatarajan
anithapriyanatarajan force-pushed the fix/release-1.4-go-deps-go1.25 branch from 41d9653 to d7a8c6e Compare November 4, 2026 09:28
@jkopriva
jkopriva merged commit f2a2083 into release-1.4 Nov 4, 2026
24 checks passed
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.

3 participants