Skip to content

Conversation

farazkhawaja
Copy link

Upgrades go version to 1.25
ran go mod tidy on suc/ and suc/pkg/apis folder

@brandond
Copy link
Member

needs rebase

@brandond
Copy link
Member

it looks like some modules will need updates to work with go 1.25

Signed-off-by: Khwaja Faraz Ahmed <[email protected]>
@brandond
Copy link
Member

brandond commented Oct 5, 2025

I think you may need to also run go generate if you're updating the controller-gen version.

Signed-off-by: Khwaja Faraz Ahmed <[email protected]>
@farazkhawaja
Copy link
Author

@brandond did the CI timeout?

@brandond
Copy link
Member

brandond commented Oct 9, 2025

There are regressions (golang/go#75828) in the most recent upstream golang patch releases, we're going to wait for those to be addressed and then we can update again.

module github.com/rancher/system-upgrade-controller

go 1.24.6
go 1.25.0
Copy link
Author

Choose a reason for hiding this comment

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

@brandond go 1.25.3 just released. should i change this line from go 1.25.0 to go 1.25.3 . toolchain needs to be changed aswell right?

Copy link
Member

@brandond brandond Oct 14, 2025

Choose a reason for hiding this comment

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

The bci/golang:1.25 hardcodes GOTOOLCHAIN env var to whatever patch version is in the image. That said, the new patch release isn't available from BCI yet:

brandond@dev01:~$ docker run registry.suse.com/bci/golang:1.25 go version
go version go1.25.2 linux/amd64

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.

2 participants