Skip to content

fix: unblock Renovate PR creation and reduce cargo branch sprawl#630

Merged
wpfleger96 merged 1 commit into
mainfrom
wpfleger/fix-renovate-config
May 20, 2026
Merged

fix: unblock Renovate PR creation and reduce cargo branch sprawl#630
wpfleger96 merged 1 commit into
mainfrom
wpfleger/fix-renovate-config

Conversation

@wpfleger96
Copy link
Copy Markdown
Collaborator

@wpfleger96 wpfleger96 commented May 20, 2026

Fix a deadlock that has prevented Renovate from opening any PRs since May 11, leaving 75+ dependency updates queued with no visibility.

The org-inherited config (block/renovate-config) sets prCreation: "not-pending", which tells Renovate to wait for CI checks before opening a PR. But CI only triggers on pull_request events — so checks never run on renovate/* branches, PRs never get created, and the cycle is permanent. Compounding this, automerge: true (org) means failures are silent: there are no PRs to review, just stale branches. The Dependency Dashboard (issue #1) has been accumulating updates while separateMultipleMinor: true exploded crates like nostr into 8 separate branches (one per minor from 0.37 to 0.44).

  • Override prCreation to "immediate" — PRs are created on branch push, CI runs via the pull_request trigger
  • Override automerge to false — human review required until the 75-update backlog is cleared and CI is consistently green; re-enable after a few clean weeks
  • Switch recreateWhen to "always" — previously-closed PRs (fix(deps): update all non-major dependencies #469, Update all non-major dependencies #300) can be retried
  • Add postUpdateOptions: ["cargo:updateLockfile"] — Renovate runs cargo update --workspace after manifest changes, keeping both Cargo.lock files consistent
  • Set separateMultipleMinor: false for cargo — one PR per crate updating to latest minor, not one PR per intermediate version

Closes the config gap introduced in #531. The 9 stale renovate/* branches have already been deleted. After this merges, trigger a manual Renovate run via the Dependency Dashboard (issue #1).

@wpfleger96 wpfleger96 force-pushed the wpfleger/fix-renovate-config branch from baaee13 to 436c3c1 Compare May 20, 2026 19:04
@wpfleger96 wpfleger96 marked this pull request as ready for review May 20, 2026 19:42
@wpfleger96 wpfleger96 requested a review from wesbillman as a code owner May 20, 2026 19:42
The org-inherited config has prCreation: "not-pending" which requires
CI checks to pass before opening a PR, but CI only triggers on
pull_request events — creating a deadlock where PRs need checks and
checks need PRs. 75+ updates have been queued since May 11 with zero
PRs created.

- Override prCreation to "immediate" so PRs are created first, then
  CI runs via the pull_request trigger
- Disable automerge until the backlog is cleared and CI is stable
- Switch recreateWhen to "always" so closed-without-merge PRs can be
  retried
- Add cargo:updateLockfile to keep lockfiles consistent
- Disable separateMultipleMinor to stop per-version branch explosion
  (e.g. 8 branches for nostr 0.37-0.44)
@wpfleger96 wpfleger96 force-pushed the wpfleger/fix-renovate-config branch from 436c3c1 to 3d5cf61 Compare May 20, 2026 20:03
@wpfleger96 wpfleger96 enabled auto-merge (squash) May 20, 2026 20:03
@wpfleger96 wpfleger96 merged commit 8dcf24f into main May 20, 2026
15 checks passed
@wpfleger96 wpfleger96 deleted the wpfleger/fix-renovate-config branch May 20, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant