-
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
[Feature Request] Backports fail often due to CHANGELOG conflicts #15149
Comments
Good idea. In the case where the diff is a 1-liner, try to apply both by default. |
Agreed @ankitkala on unnecessary blockers caused by this. The most frustrating part is users not able to edit the changelog in UI and then commit it right away. The part where you have to manually checkout the code and raise a manual backport PR is irritating. Also, chances for human errors - what if I mistakenly edit other files.
I think for changelog failures - in CI for backport PRs, we can automate this. Probably need to trigger something like |
coming from here: #15915 (comment) (CC @reta) IMHO this isn't just about backports, also normal PRs need to be rebased very regularly due to changelog conflicts. i'm not contributing that often here, but it's somewhat annoying 🙈 quoting what i wrote in the other PR:
as a detail: i guess you could then do the equivalent of |
@rursprung I suspect you're referring to OpenSearch-Dashboards: https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/changelogs Full details about that solution are here. We should definitely look at moving to that approach if it is working well for the dashboards repo. |
Most common problem: Everyone's adding their Change log entry to the bottom of the list. That's why they conflict. Simple fix: Add your entry in numeric sorting order. If higher numbered PRs have already been merged this will minimize conflicts. |
While somewhat disruptive in the short term, moving to the process implemented by OpenSearch_Changelog_Workflow will completely eliminate these merge conflict problems. OpenSearch-Dashboards is already using that approach. @dbwiddis @jainankitk What do you think? |
We can minimize the disruption by timing the switch with a minor version bump. I'm not clear from that proposal how we handle the 2.x and 3.x sections separately. |
Is your feature request related to a problem? Please describe
The backport fails for most PR due to conflicts on CHANGELOG.md. I am wondering if there is better way around this.
Describe the solution you'd like
Maybe provide some conflict resolution hints specifically for CHANGELOG.md?
Related component
Build
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: