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] update genqlient to v0.8.0 and fix broken tests #37700

Merged
merged 4 commits into from
Feb 10, 2025

Conversation

adrielp
Copy link
Contributor

@adrielp adrielp commented Feb 5, 2025

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

go 1.22.1
go 1.22.5

toolchain go1.23.5
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal/tools/go.mod Show resolved Hide resolved
@songy23 songy23 added the dependencies Pull requests that update a dependency file label Feb 10, 2025
@andrzej-stencel andrzej-stencel merged commit 957c063 into open-telemetry:main Feb 10, 2025
173 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 10, 2025
@adrielp adrielp deleted the khan-upgrade branch February 10, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file internal/tools receiver/github
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants