Skip to content

Bump Go to 1.26.3#464

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
stuggi:go-1.26.3-bump
Jul 14, 2026
Merged

Bump Go to 1.26.3#464
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
stuggi:go-1.26.3-bump

Conversation

@stuggi

@stuggi stuggi commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
  • Go: 1.24.4 -> 1.26.3
  • operator-sdk: v1.41.1 -> v1.42.3
  • golangci-lint: v2.7.2 -> v2.12.2
  • GOTOOLCHAIN_VERSION: go1.24.0 -> go1.26.0
  • go-toolset image: 1.24 -> 1.26
  • .ci-operator.yaml: ci-build-root-golang-1.24-sdk-1.41.1 -> ci-build-root-golang-1.26-sdk-1.42.3
  • ginkgo: v2.28.2 -> v2.32.0
  • gomega: v1.42.0 -> v1.42.1
  • golang.org/x/crypto: v0.48.0 -> v0.54.0
  • golang.org/x/net: v0.49.0 -> v0.57.0
  • golang.org/x/sys: v0.40.0 -> v0.47.0
  • golang.org/x/text: v0.33.0 -> v0.40.0
  • golang.org/x/tools: v0.41.0 -> v0.48.0
  • golang.org/x/mod: v0.32.0 -> v0.38.0
  • golang.org/x/sync: v0.19.0 -> v0.22.0
  • golang.org/x/oauth2: v0.23.0 -> v0.36.0
  • golang.org/x/time: v0.6.0 -> v0.15.0
  • golang.org/x/term: v0.39.0 -> v0.45.0
  • golang.org/x/exp: v0.0.0-20240719175910 -> v0.0.0-20260611194520

Code changes required by the bump:

  • reflect.Ptr -> reflect.Pointer (deprecated constant inlined by govet)

Disabled govet inline analyzer in .golangci.yaml — Go 1.26 emits false-positive "cannot inline: type parameter inference not yet supported" for generic functions like maps.Copy and slices.Sorted.

Jira: OSPRH-30997

Depends-On: openstack-k8s-operators/openstack-operator#1977
Depends-On: openstack-k8s-operators/install_yamls#1153

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/d7995559ca624c38ad54b64d78b80090

openstack-k8s-operators-content-provider FAILURE in 12m 11s
⚠️ test-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ podified-multinode-edpm-deployment-crc-test-operator SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@posikoya

Copy link
Copy Markdown
Contributor

recheck

@stuggi stuggi force-pushed the go-1.26.3-bump branch 2 times, most recently from 3a08189 to 5c23093 Compare July 13, 2026 10:55
- Go: 1.24.4 -> 1.26.3
- operator-sdk: v1.41.1 -> v1.42.3
- golangci-lint: v2.7.2 -> v2.12.2
- GOTOOLCHAIN_VERSION: go1.24.0 -> go1.26.0
- go-toolset image: 1.24 -> 1.26
- .ci-operator.yaml: ci-build-root-golang-1.24-sdk-1.41.1 -> ci-build-root-golang-1.26-sdk-1.42.3
- ginkgo: v2.28.2 -> v2.32.0
- gomega: v1.42.0 -> v1.42.1
- golang.org/x/crypto: v0.48.0 -> v0.54.0
- golang.org/x/net: v0.49.0 -> v0.57.0
- golang.org/x/sys: v0.40.0 -> v0.47.0
- golang.org/x/text: v0.33.0 -> v0.40.0
- golang.org/x/tools: v0.41.0 -> v0.48.0
- golang.org/x/mod: v0.32.0 -> v0.38.0
- golang.org/x/sync: v0.19.0 -> v0.22.0
- golang.org/x/oauth2: v0.23.0 -> v0.36.0
- golang.org/x/time: v0.6.0 -> v0.15.0
- golang.org/x/term: v0.39.0 -> v0.45.0
- golang.org/x/exp: v0.0.0-20240719175910 -> v0.0.0-20260611194520

Also adds .github/workflows/lints.yaml , like we have in the
other repositories to check for replace lines which should
be removed before merging.

Code changes required by the bump:
- reflect.Ptr -> reflect.Pointer (deprecated constant inlined by govet)

Jira: OSPRH-30997

Depends-On: openstack-k8s-operators/lib-common#715

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>

@abays abays 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.

/lgtm

@openshift-ci

openshift-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit 1f2407a into openstack-k8s-operators:main Jul 14, 2026
8 checks passed
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.

3 participants