Skip to content

Make the buf breaking-change base configurable - #919

Merged
stephanos merged 3 commits into
mainfrom
configurable-buf-breaking-base
Dec 2, 2026
Merged

stephanos merged 3 commits into
mainfrom
configurable-buf-breaking-base

Conversation

@stephanos

@stephanos stephanos commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What changed?

Add a BUF_BREAKING_AGAINST override for make buf-breaking, with main as the default comparison branch.

Why?

CI compares every PR against main. The override lets you also run Buf against a different target branch to catch breaking changes to protobuf definitions that exist only on that branch.

Keep main as the default and allow stacked schema changes to check against their parent branch.
@stephanos
stephanos marked this pull request as ready for review November 24, 2026 03:33
@stephanos
stephanos requested review from a team and mavemuri November 24, 2026 03:33
@stephanos stephanos changed the title Make the Buf breaking-change base configurable Make the buf breaking-change base configurable Nov 24, 2026
Comment thread Makefile Resolved
Co-authored-by: mavemuri <74267563+mavemuri@users.noreply.github.com>
@stephanos
stephanos enabled auto-merge (squash) December 2, 2026 03:19
@stephanos
stephanos merged commit 370988c into main Dec 2, 2026
4 checks passed
@stephanos
stephanos deleted the configurable-buf-breaking-base branch December 2, 2026 03:23
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