Re-attempt platform automerge #26523
Closed
straub
started this conversation in
Suggest an Idea
Replies: 2 comments 9 replies
-
Please go ahead! It would be handy to have such PRs added back to the queue as long as it doesn't result in any loops |
Beta Was this translation helpful? Give feedback.
9 replies
-
I believe #26567 resolves this discussion, released in v37.255.0. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
Hey folks,
I've encountered a similar issue as #25699, so I'd like to open the feature request mentioned there.
My use case is on GitHub, attempting to use their Merge Queue feature with Renovate. I have a dependency file that is very prone to merge conflicts and has many updates available (a Jenkins plugins.txt). I'm finding the GitHub Merge Queue actually works slightly less smoothly than Renovate's native automerge, since when the Merge Queue ejects a PR that's developed merge conflicts during the process, it requires human intervention to make it back in, even after Renovate has rebased and resolved the conflict.
My understanding is that the root cause is that Renovate only attempts to add the PR to the merge queue when it's created, and not on future updates, via this code:
renovate/lib/modules/platform/github/index.ts
Line 1520 in bde9512
I also understand that infinite loops are possible in some configurations where checks are different in CI between the main branch and PRs, so having PRs re-added to the Merge Queue on updates by default might not be wise and could potentially waste CI resources forever. This is not a concern in my use case, as I have the same checks on the main branch as in PRs.
I don't think I exactly need Renovate to re-enable GitHub's automerge after any push, but at least after Renovate's own pushes would be very helpful.
If you folks would be open to a new opt-in flag to enable another call to
tryPrAutomerge()
duringupdatePr()
, I'd be happy to try my hand at implementing it!Please let me know if you have any other questions, concerns, or guidance. And as always, thank you so much for all your hard work!
Beta Was this translation helpful? Give feedback.
All reactions