Renovate unnecessarily rebases PRs #8982
Unanswered
gkalpak
asked this question in
Request Help
Replies: 1 comment 16 replies
-
This is by design, renovate will ever only automerge up to date pr, so it needs to rebase. see rebaseWhen to change behavior, but this will stop automerge i think. Also it will only automerge when renovate is latest git author (can be changed when #8893 is done). |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What Renovate type, platform and version are you using?
We are using the Renovate App on GitHub.
Describe the bug
On the angular/ngcc-validation repo, in the last few days (at least), we have noticed the following behavior:
Once Renovate merges one of its PRs, it will rebase all its open PRs, although there should be no merge conflicts created by the recent merge.
For example, you can see that once angular/ngcc-validation#2643 was just merged, Renovate rebased angular/ngcc-validation#2645 (which had already passed CI). By looking at the changed files, it is clear that there should be no merge conflicts between the two PRs.
This behavior is highly undesirable, since (in addition to taking a lot longer to merge PRs) it causes CI to run much more than necessary (increasing CI costs and consuming CI resources).
Any insight on what might be going on or how to fix it would be appreciated 🙏
Relevant debug logs
I am not sure what part of the logs is relevant. You can find the whole file here.
There were a couple of places that said that the branch was stale and needed rebasing and the lockfile needed updating, but not sure what to make of that:
Have you created a minimal reproduction repository?
Additional context
N/A
Beta Was this translation helpful? Give feedback.
All reactions