mergify
mergify copied to clipboard
Conflicts should be resolved after backporting missing PR's
Expected Behavior
When trying to backport one PR, I figure out that previous one was missing causing conflicts. So, first I backport previous one and I expect the initial one conflicts to be fixed.
Actual Behavior
Conflicts stay and need to resolve them manually.
Steps to Reproduce the Problem
- Create 2 PR's that change the same thing
- Try to backport the second one - cause conflict
- Backport 1st one - see still conflicts are present
Backports are not automatically updated in any way and that's not something we're planning to do. Best case would be to be able to recreate a backport, which would work in your case. Though I think this is something that we don't allow yet.
Backports are not automatically updated in any way and that's not something we're planning to do. Best case would be to be able to recreate a backport, which would work in your case. Though I think this is something that we don't allow yet.
thanks for the prompt response @jd
if there something that could be done to help with such flow ? we have them on a daily basis, that we need to backport to 5-6 branches, and even if 2 of 6 is having this, the manual intervention is not always trivial, and cannot be automated...
also trying using @mergify rebase command, which in this situations, cause more harm, and all of the conflicts in code are duplicated, and it ends up harder to solve them.
I would expect a rebase command to work as rebase does, take the changes out, and apply the original changeset ontop of the updated target branch.