Learn about the limitations of Renovate bot.
Renovate, like any computer program has limitations. Sometimes these are functionality limitations - perhaps something is impossible or too complex to do, or we simply haven't implemented it yet. At other times it may be a "performance" limitation, because jobs neither start nor complete instantly, even if the user may start with that expectation.
This document attempts to list out the most commonly seen limitations and describe whether they're permanent and if there's any plans to improving the situation.
Time/schedule based limitations
When a user configures a schedule in their repo config, they may think that this schedule "controls" when Renovate runs. In actuality, Renovate may be running frequently, but just skipping updates to the repo if the configured schedule is not met. Additionally, the Renovate admin may have put the bot on its own schedule, or the job queue may be too long, so Renovate doesn't even get a chance to run on your repository during a certain scheduled time window.
For scheduled action to take place, both these need to happen:
- The bot needs to run against your repository
- The current time needs to fall within your repository's configured schedule
For the GitHub hosted app, all active repositories will be enqueued hourly by default, but it's often the case that not every repository gets processed every hour. For this reason, it's best to allow for a minimum 2-3 hours schedule window per run, if you want a high chance that the bot will have run on your repo at least once while the schedule is active.
Renovate automerges at most one branch per run. Renovate will only automerge a branch when it is up-to-date with the target branch. Therefore, Renovate may not be able to automerge as many branches as you expect, especially if your base branch is receiving regular commits at the same time.
The limitation to only merge one branch per run is because Renovate's dependency and branch state is based on what was present in the base branch at the start of the run. If a branch is merged into the base branch during Renovate's run - including by other users - it means that remaining Renovate branches may have Git conflicts. It also means that Renovate's knowledge about dependencies in the base branch is now invalid and other branches may need changing as a result of the merge.
The limitation to only automerge branches which are up-to-date is a decision due to this example:
- Two dependencies are in use:
- PRs exist for
firstname.lastname@example.org both pass tests
- The PR for
- The PR for
email@example.com open, does not have conflicts, and has all tests passing
firstname.lastname@example.org incompatible so merging the PR without rebasing and retesting it first would result in a broken base branch