Limit Renovate concurrent branches to 20#27128
Conversation
ref #27096 After restoring rebaseWhen=automerging, Renovate began rebasing all stale branches on every run. With 150+ open branches accumulated over 5 months of broken automerge, each run hit the 30-minute Mend timeout before it could finish processing, let alone merge anything. The shared preset includes :disableRateLimiting which removes all PR and branch limits. That works for repos with a healthy automerge cycle where branches are short-lived, but Ghost's backlog made it untenable. Setting branchConcurrentLimit to 20 caps the number of branches Renovate will maintain at once. At roughly 20 seconds per branch for rebasing and artifact updates, 20 branches takes about 7 minutes, leaving plenty of headroom within the 30-minute limit for package discovery, PR updates, and automerge evaluation. As Renovate merges existing branches it will create new ones up to the limit, working through the available updates incrementally.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe pull request introduces a configuration change to 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27128 +/- ##
==========================================
- Coverage 73.20% 73.19% -0.01%
==========================================
Files 1531 1531
Lines 121805 121805
Branches 14699 14696 -3
==========================================
- Hits 89166 89157 -9
- Misses 31645 31654 +9
Partials 994 994
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Summary
branchConcurrentLimit: 20to Ghost's local Renovate config:disableRateLimitingwhich allows unlimited branchesWhy
After restoring
rebaseWhen=automergingin #27096, Renovate started rebasing all stale branches on every run. With 150+ accumulated branches from 5 months of broken automerge, each run hit the 30-minute Mend timeout before completing. Capping at 20 branches keeps runs well within the time limit and lets Renovate work through updates incrementally as it merges existing ones.