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
Chore: Upgrade to Go 1.15.1 #27326
Chore: Upgrade to Go 1.15.1 #27326
Conversation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Changes seems reasonable. This feels like a potentially risky update going from 1.14.7 to 1.15.1 given there's 7.2 beta release in one week. Have you verified all changes in 1.15 looks solid and non-breaking? Is this maybe to resolve recent security vulnerability? |
@marefr 1.15 isn't a very exciting release, and I've been running Grafana on master with 1.15 without any problems since the day of the 1.15 release without noticing any negative consequences. It is possible that we might have users (for example orgs rolling internal certificates) that could run into the deprecation of x.509 certificate's common name happening in 1.15: https://golang.org/doc/go1.15#commonname I think, in a sense, that it makes sense to use the beta to verify that the behavior of 1.15 is not significantly changed in any way from the behavior of 1.14, where upgrading from 1.14->1.15 in a later patch release (or worse, 1.14->1.16 when that drops, since 1.14 won't be getting security patches at that point) wouldn't let us have the confidence of a tested beta behind us. Having a beta release ahead of us is better than a patch release. |
@marefr Yeah, the idea was to bring us up to date with latest Go, and to get the security fix in 1.15.1. I read the release notes and didn't find anything that would break. |
I agree with @sakjur that it would make sense to test Go 1.15 as part of the beta. |
Should go.mod go version be updated with this as well? |
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.
It is possible that we might have users (for example orgs rolling internal certificates) that could run into the deprecation of x.509 certificate's common name happening in 1.15: https://golang.org/doc/go1.15#commonname
You can use a env variable to set this back so should be fine.
I approve
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Yes! We just need to be aware of it in case it appears in a bug report or something like that :) |
* Chore: Upgrade to Go 1.15.1
* Chore: Upgrade to Go 1.15.1
What this PR does / why we need it:
Upgrade to Go 1.15.1.