Skip to content

[chore] update genqlient to v0.8.0 and fix broken tests#37700

Merged
andrzej-stencel merged 4 commits into
open-telemetry:mainfrom
adrielp:khan-upgrade
Feb 10, 2025
Merged

[chore] update genqlient to v0.8.0 and fix broken tests#37700
andrzej-stencel merged 4 commits into
open-telemetry:mainfrom
adrielp:khan-upgrade

Conversation

@adrielp

@adrielp adrielp commented Feb 5, 2025

Copy link
Copy Markdown
Member

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

Comment thread internal/tools/go.mod Outdated
go 1.22.1
go 1.22.5

toolchain go1.23.5

Copy link
Copy Markdown
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
Copy Markdown
Member 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/testutil@v0.5.0 requires go >= 1.22.9; switching to go1.22.12

And workflows fail when not having those values.

Copy link
Copy Markdown
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Comment thread internal/tools/go.mod
@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
@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