Skip to content
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

Merged
merged 2 commits into from Sep 2, 2020
Merged

Chore: Upgrade to Go 1.15.1 #27326

merged 2 commits into from Sep 2, 2020

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Sep 2, 2020

What this PR does / why we need it:
Upgrade to Go 1.15.1.

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
@aknuds1 aknuds1 requested review from a team, mckn, hugohaggmark, srclosson, marefr, sakjur and kylebrandt and removed request for a team, mckn and hugohaggmark September 2, 2020 08:46
@aknuds1 aknuds1 added this to the 7.2 milestone Sep 2, 2020
@marefr
Copy link
Member

marefr commented Sep 2, 2020

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?

@sakjur
Copy link
Contributor

sakjur commented Sep 2, 2020

@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.

@aknuds1
Copy link
Contributor Author

aknuds1 commented Sep 2, 2020

@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.

@aknuds1
Copy link
Contributor Author

aknuds1 commented Sep 2, 2020

I agree with @sakjur that it would make sense to test Go 1.15 as part of the beta.

@kylebrandt
Copy link
Contributor

Should go.mod go version be updated with this as well?

Copy link
Member

@marefr marefr left a 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>
@aknuds1 aknuds1 requested a review from a team as a code owner September 2, 2020 13:24
@aknuds1 aknuds1 merged commit 19c8097 into master Sep 2, 2020
@aknuds1 aknuds1 deleted the chore/upgrade-go branch September 2, 2020 13:51
@sakjur
Copy link
Contributor

sakjur commented Sep 2, 2020

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.

Yes! We just need to be aware of it in case it appears in a bug report or something like that :)

pull bot pushed a commit to digitalocean/grafana that referenced this pull request Sep 2, 2020
* Chore: Upgrade to Go 1.15.1
ryantxu pushed a commit that referenced this pull request Nov 18, 2020
* Chore: Upgrade to Go 1.15.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants