-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update for go 1.24 #682
Update for go 1.24 #682
Conversation
fishy
commented
Feb 14, 2025
- Update go.mod to require 1.23+
- Update CI to run on go 1.23 & 1.24
- Update go.mod to require 1.23+ - Update CI to run on go 1.23 & 1.24
@@ -57,7 +57,6 @@ var expectedMetrics = []string{ | |||
"go_godebug_non_default_behavior_randautoseed_events_total", | |||
"go_godebug_non_default_behavior_tarinsecurepath_events_total", | |||
"go_godebug_non_default_behavior_tlsmaxrsasize_events_total", | |||
"go_godebug_non_default_behavior_x509sha1_events_total", |
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.
this is no longer available in go 1.24.
@kylelemons I think we should remove all the godebug
ones here unless we really care about some of them.
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.
I don't see internal references to them in CS, and v2 only checks for a small subset of these for regressions.
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.
yes, every time we need to update go minor version this test will break, and I'll make the same suggestion of only check for a subset that we really care about, and I believe there are always some objections to that suggestion.
@@ -57,7 +57,6 @@ var expectedMetrics = []string{ | |||
"go_godebug_non_default_behavior_randautoseed_events_total", | |||
"go_godebug_non_default_behavior_tarinsecurepath_events_total", | |||
"go_godebug_non_default_behavior_tlsmaxrsasize_events_total", | |||
"go_godebug_non_default_behavior_x509sha1_events_total", |
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.
I don't see internal references to them in CS, and v2 only checks for a small subset of these for regressions.
@@ -1,6 +1,6 @@ | |||
module github.com/reddit/baseplate.go | |||
|
|||
go 1.22.0 | |||
go 1.23 |
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.
🔕 I think it wants 1.23.0 nowadays... I've run into a few issues with totally dropping the third dot, e.g. when things parse it out and expect e.g. GOTOOLCHAIN=<that>
to work
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.
do you have an example of dropping patch release from go
line breaks things?
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.
will merge this as-is. we can add .0
if this really breaks something (I don't think it will)