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

Add buf breaking to the CI linter #26828

Merged
merged 2 commits into from
May 30, 2023
Merged

Conversation

espadolini
Copy link
Contributor

@espadolini espadolini commented May 24, 2023

This PR runs buf breaking, a backwards compatibility check for protobufs, as part of the linting in CI.

Breakage is checked from the head of the PR against the base and - in backports - from the tip of master against the head of the PR. This helps ensure that no incompatibilities can occur when adding or changing fields in the protobuf messages, and that no incompatibilities can be added while backporting said changes.

In addition, this PR adds a Makefile target lint-breaking (alias of protos/breaking) to use for local development, to check compatibility against a specified ref defaulting to origin/master.

Contributes to #26688

@espadolini espadolini force-pushed the espadolini/proto-unbreak/ci-master branch 9 times, most recently from a112663 to a7ba307 Compare May 24, 2023 16:38
@espadolini espadolini force-pushed the espadolini/proto-unbreak/master branch 2 times, most recently from 97df3f1 to 2ebab3d Compare May 26, 2023 11:07
Base automatically changed from espadolini/proto-unbreak/master to master May 26, 2023 14:12
@espadolini espadolini force-pushed the espadolini/proto-unbreak/ci-master branch from f7c0462 to a23a6a3 Compare May 29, 2023 09:18
@espadolini espadolini changed the title buf breaking CI action Add buf breaking to the CI linter May 29, 2023
@espadolini espadolini marked this pull request as ready for review May 29, 2023 09:27
@github-actions github-actions bot requested a review from gzdunek May 29, 2023 09:27
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from gzdunek May 29, 2023 14:19
@espadolini espadolini added this pull request to the merge queue May 30, 2023
Merged via the queue into master with commit 0975df7 May 30, 2023
@espadolini espadolini deleted the espadolini/proto-unbreak/ci-master branch May 30, 2023 20:33
@public-teleport-github-review-bot

@espadolini See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants