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

Remove generated go code before regeneration #928

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

bstadlbauer
Copy link
Collaborator

@bstadlbauer bstadlbauer commented Jan 21, 2025

In #927, we've seen that the go-linter is failing. The reason being that some of the files did not update their version from v2024 to v2025 in the yearly update PR (#925). After closer inspection, it seems like the code generation is non-determistic. While the version of the code-generator is pinned to a specific tag (here), there seem to be some loose dependencies which cause this. The root problem was that some files did not get regenerated (but also not deleted), thus, their version was not updated.

I didn't have the time to look further into the non-determinism of the issue, but made sure that this won't happen again by first removing the generated code before regeneration. The files that did not get regenerated in this version (the client/applyconfiguration submodule) should not be too important.

Closes #927

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

This is great thanks!

@jacobtomlinson jacobtomlinson merged commit 8d38b07 into dask:main Jan 21, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Golang linter is unhappy
2 participants