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

node: commit proto and matching test fixes #1769 #1824

Merged
merged 3 commits into from
Oct 31, 2022
Merged

Conversation

evan-gray
Copy link
Contributor

Anyone including the node code as a dependency from github breaks on the missing protos. This PR adds the generated go protos along with a CI check to ensure they always match the protos themselves. Added bonus there's one less step for Tilt to do.

@evan-gray
Copy link
Contributor Author

evidence of test breaking when a proto change is made without committing the corresponding generated code: https://github.com/wormhole-foundation/wormhole/actions/runs/3349436581/jobs/5549438027

@evan-gray
Copy link
Contributor Author

proving a failure case by manipulating the generated go code https://github.com/wormhole-foundation/wormhole/actions/runs/3349468198/jobs/5549500358

@hendrikhofstadt
Copy link
Contributor

For awareness @conorpp

Copy link
Contributor

@hendrikhofstadt hendrikhofstadt left a comment

Choose a reason for hiding this comment

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

Please document the proto compiler step in DEVELOP.md or a similar place

@evan-gray evan-gray force-pushed the go-proto-gen branch 2 times, most recently from 629b92d to 8f9bc77 Compare October 31, 2022 14:59
@evan-gray evan-gray merged commit 24d3818 into dev.v2 Oct 31, 2022
@evan-gray evan-gray deleted the go-proto-gen branch October 31, 2022 16:45
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.

3 participants