Skip to content

Conversation

@FelipeYepez
Copy link
Contributor

This commit updates the Go version to 1.25.4 across the project. The dev/tools/update-golang script has also been improved to update the go directive in go.mod files.

This commit updates the Go version to 1.25.4 across the project. The dev/tools/update-golang script has also been improved to update the go directive in go.mod files.
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: FelipeYepez
Once this PR has been reviewed and has the lgtm label, please assign bowei for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 6, 2025
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If the repository mantainers determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Details

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.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 6, 2025
@k8s-ci-robot
Copy link
Contributor

@FelipeYepez: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
cloud-provider-gcp-verify-up-to-date cd04393 link true /test cloud-provider-gcp-verify-up-to-date
cloud-provider-gcp-tests cd04393 link true /test cloud-provider-gcp-tests
cloud-provider-gcp-e2e-full cd04393 link true /test cloud-provider-gcp-e2e-full
cloud-provider-gcp-verify-all cd04393 link true /test cloud-provider-gcp-verify-all

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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. I understand the commands that are listed here.

# The go directive should be the major.minor version
major_minor_version = ".".join(new_version.split(".")[:2])
def fn(line):
# Replace lines like `go 1.24.0`
Copy link
Member

Choose a reason for hiding this comment

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

Q: do we need to? I thought this was the language version, and the toolchain directive is what matters, but I could be wrong.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My initial thinking was that while the toolchain directive is what's strictly required for the build, updating the go directive to 1.25 is a standard practice that signals the module is now compatible with the Go 1.25 language version and can start using its new features.

My understanding was that it's generally best practice to keep the language version aligned with the new toolchain, but I could be mistaken on that. I'm happy to change it back and only update the toolchain if that's the preferred convention

Copy link
Member

Choose a reason for hiding this comment

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

We can let the approvers chime in (e.g .@cheftako ). In theory it might make it harder to backport code changes, in practice it seems more likely that we forget to update this vesion :-). But we could also just leave the language version as-is until we need a newer version.

For a library, it's more important to be compatible with older language versions. I think maybe as this is not a library, we should just use the latest and stay auto-updated (i.e. I think what you've done here is correct)

@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

Details

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants