-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Bump up go version to 1.24 and cri-api to 0.33.0 #11823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
20296b1 to
10afa3d
Compare
.github/workflows/ci.yml
Outdated
| matrix: | ||
| os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-13, windows-2019, windows-2022] | ||
| go-version: ["1.23.8", "1.24.2"] | ||
| go-version: ["1.23.9", "1.24.3"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.23.9 is meaningless as go.mod now requires 1.24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, but somehow the CI didn't fail 🤔. anyway removed 1.23.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI didn't fail probably because it automatically updated Go 1.23 to 1.24.
We should have GOTOOLCHAIN=local to prevent this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the required modules is larger than the current go version in go.mod, it will attempt to download the latest go version and compile.
|
@dmcgowan @AkihiroSuda @samuelkarp @thaJeztah are we good to merge this PR and bump go min version to 1.24 :) thanks! |
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@AkihiroSuda @samuelkarp could you help add this PR to merge queue again 🙏thanks! |
|
@djdongjin Can you rebase this on |
Signed-off-by: Jin Dong <djdongjin95@gmail.com>
Signed-off-by: Jin Dong <djdongjin95@gmail.com>
Signed-off-by: Jin Dong <djdongjin95@gmail.com>
|
@samuelkarp can we try merge queue one more time 😅 🙏 failure doesn't seem related |
|
Go 1.24 map[uint64]struct{} has a 10% performance degradation issue. Should we be aware of this? golang/go#71368 |
mikebrow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@lujinda, for what it is worth, the Go 1.24 minimum requirement is only on main branch. We try not to backport Go min changes to release branches unless absolutely required. This means Go 1.24 will not be a required minimum until containerd v2.2 which is currently expected in November 2025, and by that time Go 1.23 should be out of support. |
Bump up go version to 1.24 and cri-api to 0.33.0
Signed-off-by: Sascha Grunert <sgrunert@redhat.com> Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com> Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Commit 1: bump golang in CI to 1.24.3.
Commit 2: bump go min version to 1.24.3, as we already released containerd 2.1.
Commit 3: bump
k8s.io/cri-apito 0.33.0 (depends on commit 2), A few PRs require k8s/cri-api side bumps: