-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Update go to 1.25 #4844
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?
Update go to 1.25 #4844
Conversation
In the PR description I'm missing a motivation for making this change. Is the |
Thanks for the review!
The biggest motivations for this PR are below:
What do you mean by "potentially disruptive change for developers" in this context? If so, I think specifying the version with the patch version in If you think that bumping to Go 1.25 would introduce more elements that could lead to developer confusion than we currently have, I'd like to know about that. |
The CI failures you saw here should be fixed with #4910. (Please rebase on master, don't merge master into your branch, thanks.)
This should be the other way round. If there's a useful new go feature that you want to use, then that's a reason to bump the go version. But we don't bump it just in case somebody might want to use a new feature, whatever it might be. Concretely, the only potentially useful new thing I see in 1.25 is
The last time such a situation came up, we bumped the version when it was necessary (#4377, needed to be able to update the go-git dependency). Sure, it's a little more work then, but it doesn't happen often in my experience.
It can be a hassle for users who have an older go version, because go's supposedly automatic toolchain management doesn't work nearly as well as it should. The discussions in #4393 and #4377 have several examples of this. We should spare users the hassle unless we have a really good reason. |
Thanks for the fix! I dropped the merge commit and rebased on master. 🙇 I understand that you prefer bumping dependencies when needed. I updated the PR Body. Could you please review this PR again when you have time? Thank you. |
Looks great, thanks. Just one tiny nitpick about the commit history. |
PR Description
This PR includes 2 changes:
v2.4.0
fromv.2.2.1
1.25.0
:1.25
ingo.mod
1.25
inci.yml
golang:1.25
inDockerfile
Reference
Please check if the PR fulfills these requirements
go generate ./...
)If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)