-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] detect-breaking-change must be required to pass for backport changes #15484
Comments
@gaiksaya @peterzhuamazon may need your help here, as always, the check for breaking changes is only run against |
Hi @reta I do not see this check mandatory in the required workflows (repo settings). Edit: Removed from main branch |
If we remove it, it won't be running, right? We need it to be mandatory for 2.x (but not main) |
Sorry for the confusion. I meant needs to be removed from main branch https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/detect-breaking-change.yml |
Got it, thank you, could we make it required? |
@gaiksaya - Yes, the workflow is running as expected. We just need it to be required check for backport PRs to disable squash and merge in case it is failing! |
Sorry did not get you. Why would we disable for backport PRs if the base branch is 2.x? |
@gaiksaya - Probably you misread, detect-breaking-change should disable "squash/merge option" if it fails for backport PR |
I see! Let me see if we can add rule specifically for 2.x branch |
Since @gaiksaya is already taking care of it, I will let her finish the config. |
It's not @peterzhuamazon Looks like if you had 2.x the @jainankitk @reta Please verify. Looking at #15485 looks like it is applied now. |
@gaiksaya - nice, thanks! |
Fixed now, closing this issue! |
This issue makes sense though at repo level but this is not applicable in context of the mentioned PR
on a class level this library does the following
Key classes in the library to understand it
here are few snaps from the gradle plugin code
JavaObjectSerializationCompatibility
Is my understanding wrong here @jainankitk @peterzhuamazon @gaiksaya @reta ? |
Thanks a mill @gaiksaya ! |
Describe the bug
Currently, detect-breaking-change is not required for merging the backported the changes
Related component
Build
To Reproduce
Expected behavior
detect-breaking-change must be passing to avoid mistakes like #15473
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: