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

misc(ci): detect breaking change to any .proto files or config fields in nodebuilder/**/config.go and add kind:break! #3568

Merged
merged 11 commits into from
Aug 9, 2024

Conversation

ramin
Copy link
Contributor

@ramin ramin commented Jul 16, 2024

deep cut: fixes #1918

If we change a .proto file, or add/modify a field in nodebuilder/**/config.go (specifically a struct) then add a label kind:break! on PR creation

hard to test but you can see some of mine in the commit history. As it stands i've left this on PR open ONLY for now so if it does misbehave, we don't get stuck with a break label on sync/update. We can expand scope later.

@walldiss
Copy link
Member

Proto changes are not neccessary breaking, as there might be backwards compatibility support. Perhaps the motivation here is that it is easier to remember to remove unwanted breaking tag, than add one?

Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utack, i agree with this flow

@ramin ramin enabled auto-merge (squash) August 9, 2024 11:07
@ramin ramin merged commit 73235c6 into main Aug 9, 2024
22 of 28 checks passed
@ramin ramin deleted the ci/labels/breaking branch August 9, 2024 11:16
sebasti810 pushed a commit to sebasti810/celestia-node that referenced this pull request Aug 14, 2024
walldiss pushed a commit that referenced this pull request Aug 15, 2024
… in nodebuilder/**/config.go and add kind:break! (#3568)

(cherry picked from commit 73235c6)
walldiss pushed a commit to walldiss/celestia-node that referenced this pull request Aug 21, 2024
… in nodebuilder/**/config.go and add kind:break! (celestiaorg#3568)

(cherry picked from commit 73235c6)
Wondertan pushed a commit that referenced this pull request Aug 21, 2024
… in nodebuilder/**/config.go and add kind:break! (#3568)

(cherry picked from commit 73235c6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:ci CI related PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Action to add kind:break! label if config fields or proto files are touched in PR
4 participants