-
Notifications
You must be signed in to change notification settings - Fork 5k
WIP: (Predrag) Update go from 1.24.0 to 1.24.2 #20770
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
base: master
Are you sure you want to change the base?
WIP: (Predrag) Update go from 1.24.0 to 1.24.2 #20770
Conversation
ok-to-build-image |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: minikube-bot The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @minikube-bot. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
ok-to-build-iso |
Hi @minikube-bot, we have updated your PR with the reference to newly built kicbase image. Pull the changes locally if you want to test with them or update your PR further. |
go.mod
Outdated
@@ -1,7 +1,6 @@ | |||
module k8s.io/minikube | |||
|
|||
go 1.23.4 | |||
toolchain go1.24.1 | |||
go 1.24.2 |
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.
Do we really want to make this the minimal required version? This may break people using packages from minikube.
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.
that is a good feedback, I would accept a PR that updated the Automation to not bump the minor version in go mod.
I think it would probably best to Match what kubernetes does.
which they dont bump the patch version for go mod
https://github.com/kubernetes/kubernetes/blob/master/go.mod
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.
good point, i pulled in go version from the current go.mod (v1.24.0) and resolved the conflicts
Hi @minikube-bot, we have updated your PR with the reference to newly built ISO. Pull the changes locally if you want to test with them or update your PR further. |
/ok-to-test |
/ok-to-test |
ok-to-build-iso |
Hi @minikube-bot, we have updated your PR with the reference to newly built ISO. Pull the changes locally if you want to test with them or update your PR further. |
This comment has been minimized.
This comment has been minimized.
This PR addresses issue kubernetes#20770, where the minikube automation (triggered by make `update-golang-version`) unnecessarily bumped minor or patch versions in `go.mod` when updating the Go version. Following Kubernetes' practice, which avoids such bumps in `go.mod`, this change ensures only the go directive is updated to the stable Go version. **Changes:** - Added `go.mod` to the schema map in `hack/update/golang_version/update_golang_version.go` with a regex (go 1\.\d+\.\d+) to update the go directive to {{.StableVersion}} (e.g., go 1.24.2). - This ensures the automation updates only the go directive without modifying module dependencies, aligning with Kubernetes' `go.mod` behavior. **Impact:** - Running make `update-golang-version` now updates the go directive (e.g., from go 1.22.3 to go 1.24.2) without unintended dependency version bumps. - Tested by setting go 1.22.3 in go.mod, running go mod tidy and make update-golang-version, and verifying only the go directive and toolchain changed. fixes: kubernetes#20773
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
clean up duplicates |
This comment has been minimized.
This comment has been minimized.
Hi @minikube-bot, we have updated your PR with the reference to newly built ISO. Pull the changes locally if you want to test with them or update your PR further. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kvm2 driver with docker runtime
Times for minikube start: 48.0s 43.7s 42.5s 48.1s 44.3s Times for minikube (PR 20770) ingress: 15.6s 15.1s 16.7s 15.1s 16.2s docker driver with docker runtime
Times for minikube (PR 20770) start: 24.5s 27.2s 24.2s 26.2s 23.3s Times for minikube ingress: 12.9s 13.4s 13.3s 12.3s 12.8s docker driver with containerd runtime
Times for minikube start: 22.1s 21.4s 23.8s 24.8s 23.4s Times for minikube ingress: 39.9s 22.8s 39.1s 38.8s 38.8s |
looks like we're good here now - ie, no more kvm driver tests timeouts in few iterations |
This PR is meant for debugging for @prezha
Kubernetes Project just updated the golang version, updating minikube golang to match Kubernetes.
This PR was auto-generated by
make update-golang-version
using update-golang-version.yml CI Workflow.closes #20785