-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[release-17.0] Upgrade Golang from v1.20.13
to v1.21.9
#15669
[release-17.0] Upgrade Golang from v1.20.13
to v1.21.9
#15669
Conversation
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Hello! 👋 This Pull Request is now handled by arewefastyet. The current HEAD and future commits will be benchmarked. You can find the performance comparison on the arewefastyet website. |
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.
Let's double check and make sure no other updates are needed to dependencies in go.mod before merging.
Merging this now, though we need to still look at benchmark results before doing another patch release. |
* Upgrade go version in upgrade tests to `go1.21.9` (vitessio#15640) Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Signed-off-by: deepthi <deepthi@planetscale.com> * Upgrade Golang from `v1.20.13` to `v1.21.9` (vitessio#15669) Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Signed-off-by: deepthi <deepthi@planetscale.com> * match go version on base image with go.mod Signed-off-by: deepthi <deepthi@planetscale.com> * Update additional jobs Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> * fix unit test Signed-off-by: deepthi <deepthi@planetscale.com> * test: fix template file too Signed-off-by: Manan Gupta <manan@planetscale.com> * test: remove usage of a function that doesn't exist Signed-off-by: Manan Gupta <manan@planetscale.com> --------- Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Signed-off-by: deepthi <deepthi@planetscale.com> Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> Signed-off-by: Manan Gupta <manan@planetscale.com> Co-authored-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com> Co-authored-by: Dirkjan Bussink <d.bussink@gmail.com> Co-authored-by: Manan Gupta <manan@planetscale.com>
Description
We usually do not upgrade the minor version of Golang on release branches such as
release-17.0
. However, Vitess and Golang share an almost-overlapping release cycle: the two projects support their versions for one year, but Golang does 2 releases a year, and we do 3. Leading to some releases of Vitess using an unsupported Go version for some time until they EOL.Given that
v17.0.0
was released in June 2023 andgo1.20
was EOL on February 2024, and using the old way of not upgrading the minor go version on release branches,v17
would have used an unsupported version of Go for about 4 months until it EOLs.This Pull Request upgrades the Go version to
go1.21.9
to ensure we stay up-to-date with all the security fixes and patches the Go team is producing.Related Issue(s)