Bump Go to 1.26.3#618
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider FAILURE in 10m 28s |
|
/test infra-operator-build-deploy-kuttl |
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider FAILURE in 12m 32s |
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider FAILURE in 11m 31s |
|
recheck |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 28m 47s |
|
/retest |
- Go: 1.24.4 -> 1.26.3 - operator-sdk: v1.41.1 -> v1.42.3 - golangci-lint: v2.4.0 -> 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 Code changes required by the bump: - Replace fmt.Sprintf host:port patterns with net.JoinHostPort (Go 1.25+ hostport vet check) in memcached_controller.go, redis_controller.go, transporturl_controller.go, configmap.go, webhook_suite_test.go - Fix gofmt formatting in apis/ (Go 1.26 import ordering and indentation) 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>
Code changes required by the bump:
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