chore(renovate): rebase dependency PRs when they fall behind main #675
No reviewers
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
servala/servala-portal!675
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/renovate-rebase-behind-base"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Sets
"rebaseWhen": "behind-base-branch"inrenovate.json, so Renovate rebases every open dependency PR thatmainhas moved past.Why
.forgejo/workflows/tests.yamlruns onpushand tests the branch as pushed, not merged withmain. With Renovate's default (rebaseWhen: auto), a PR without automerge is only rebased once it conflicts. So a dependency PR that went red because of a failure onmainstays red aftermainis fixed, until someone ticks its rebase checkbox.This happened with PR 674: three staff view tests expired on 2026-09-11, so any Renovate PR whose tests ran after that failed, and stays failed after the fix lands.
Cost
main, bounded byprConcurrentLimit: 5. The test suite takes about a minute.Testing
renovate-config-validator renovate.json: "Config validated successfully".mainget rebased and retested.Design Decisions
behind-base-branchfor this repo only: it pays off because CI tests the branch head and Python dependency PRs are not automerged. Repos whose CI tests the merge withmain(GitHubpull_request) gain little and keep the default.rebaseWhenalone gets stale PRs retested.🤖 Generated with Claude Code
https://claude.ai/code/session_014S5eLBkR9DQyhYAG11hBZw