-
Notifications
You must be signed in to change notification settings - Fork 267
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
Use buf to detect for wire breaking changes #415
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, this is very useful.
git remote set-branches origin '*' | ||
git fetch --depth=1 origin main | ||
git branch main origin/main | ||
- name: Run make breaking-change with json output to annotate PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that this is very helpful, thank you!
It would be nice if you could add a breaking change in a new (dummy) PR based off this branch to illustrate how this would work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you!
…#419) * Use buf to detect for wire breaking changes (#415) * Make it possible to indicate partial success in an OTLP export response [2] (#414) * Make it possible to indicate partial success in an OTLP export response * Update changelog with PR number * PR suggestions * Improve docs around using rejected as 0 to convey warnings * Adapt comments to match recent spec wording changes * Clarify behavior of partial success not set/empty Co-authored-by: Aaron Abbott <aaronabbott@google.com> Co-authored-by: Joao Grassi <joao@joaograssi.com>
Use Buf breaking to check PRs for wire and json breaking changes. Here is an example PR showing this in action. There was some interest for this in #400 (comment).
The config can be tweaked to add/remove specific rules if this is too noisy, see https://docs.buf.build/breaking/configuration.