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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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.

internal/tools/go.mod Show resolved Hide resolved
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.

4 participants