Skip to content

Add CI check that auto-generated code is up to date. #1553

Closed
@StephenButtolph

Description

@StephenButtolph

#1472 was incorrectly merged (without regenerating the pb files). Currently we use auto generated code for our test mocks (mockgen) and for our proto (buf) message definitions.

We should add a CI check (perhaps 2 separate workflows) that ensures that

  • running ./scripts/protobuf_codegen.sh does not change any files.
  • running ./scripts/mock.gen.sh does not change any files.

Metadata

Metadata

Assignees

Labels

ciThis focuses on changes to the CI processenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions