-
Notifications
You must be signed in to change notification settings - Fork 277
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
[Enhancement] Branch Cut workflow to have the intelligence to detect version bump before cutting branch. #4814
Comments
Hi Sushma, Based on the original code of branch cut. Probably a few tweaks to branch cut workflow to help improve the version enforcing:
We can also add a version check standalone workflow if needed and use it as a pre-requisite of branch cut, tho that might be an overkill at the moment. Thanks. |
Trying to monitor the version bump in potential central release dashboards improvements: |
Hi @5u5hma, Creating a release branch via automation is something that we added recently. Please note that we take this action only on the day of first release candidate creation. This is more of a proactive measure instead to avoid build failures. As @peterzhuamazon mentioned, we can add a check to make sure versions are bumped before a branch is cut via automation workflow. However, each repo has its own maintainers and codeowners that might decide to cut branch when they want which includes before the version bump, etc which we or the automation workflow has no control over whatsoever. I believe this will be still be an edge case for automation mentioned in issue description. @dblock @prudhvigodithi Please add your thoughts if any. |
Is your feature request related to a problem? Please describe
In the Managed Side we have a process called AutoSync which helps in syncing GitHub to Git Farm so when there is a bump commit in 2.x and then branch cut it helps identify the bump and the next version commits to sync further.
However, when the bump commit merge is missed and branch is cut from 2.x already and then later version bump commit happens in the version specific branch, this impacts the sync process on managed side there by blocking next version syncs for that respective plugin.
Example:
Version bump is after the branch cut for 2.14.0
https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/commits/2.14
fb1536ef79da4694d377435448607c50b3a2a5dd - this is the branch cut commit post which the version bump commit is done.
Describe the solution you'd like
So we would like to have the intelligence added in the branch cut workflow to check for the version bump is completed before cutting the branch.
Describe alternatives you've considered
The only alternative is for manual intervention framework Metadata for plugin which is done by the release POC and the plugin team collaborated which is not much useful if there are more plugins impacted in similar issue.
Additional context
Some of the plugins seen with similar issue in 2.14.0 recently are Anomaly detection, dashboards anomaly detection, security analytics.
The text was updated successfully, but these errors were encountered: