CI should enforce protobuf generated code is up to date #8131
Labels
agoric-cosmos
bug
Something isn't working
enhancement
New feature or request
tooling
repo-wide infrastructure
What is the Problem Being Solved?
When a PR updates protobuf definitions, it should also refresh the generated files, both in
golang/cosmos
and inpackages/cosmic-proto
. Currently we have some stale generated files when re-running the generation step.Description of the Design
A required CI job that regenerates the protobuf files, and checks that the source tree is not dirty.
Security Considerations
None
Scaling Considerations
None
Test Plan
Add job, check that it catches the currently outdated cases. Then fix outdated files in same PR.
It should not be bypassable
Upgrade Considerations
None
The text was updated successfully, but these errors were encountered: