-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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] update genqlient to v0.8.0 and fix broken tests #37700
Conversation
internal/tools/go.mod
Outdated
go 1.22.1 | ||
go 1.22.5 | ||
|
||
toolchain go1.23.5 |
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.
Can we remove this line?
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.
Doesn't look like it. It popped up when running make tidy
after I updated the genqlient
version to v0.8.0
.
I downloaded go 1.22.0
& go 1.22.5
just to see if using tidy with those versions would fix it. There's a dependency being updated that requires at least go1.22.12. Here's the response I get:
$ go1.22.0 mod tidy -compat=1.22.0
go: github.com/gostaticanalysis/[email protected] requires go >= 1.22.9; switching to go1.22.12
And workflows fail when not having those values.
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 looks like this is coming from genqlient updating its go directive.
Since this is the only place that needed to be updated for CI/CD to pass, it's okay with me.
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.
internal/tools
is fine, see also http://github.com/open-telemetry/opentelemetry-collector-contrib/issues/35722#issuecomment-2438593913
Description
They changed HTTP response handling in v0.8.0 so adjusted the tests to support the changes and updated the corresponding packages. Supersedes #37670
Link to tracking issue
Fixes #37670