Skip to content

fix: Stop Renovate raising pnpm security-floor overrides a major - #39

Merged
ecv merged 1 commit into
mainfrom
fix/renovate-override-major
Nov 9, 2026
Merged

ecv merged 1 commit into
mainfrom
fix/renovate-override-major

Conversation

@ecv

@ecv ecv commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Renovate keeps proposing to raise security-floor overrides, which pin old copies of a package to a patched release, to the next major version. Merging one breaks the app, as React Router 8 breaks Remix v2 in milo-os activity and service-catalog. After this change Renovate proposes only minor and patch updates for these floors, across every milo-os repository.

Details

This stops 4 open pull requests from coming back: milo-os/activity#325, milo-os/activity#326, milo-os/service-catalog#221 and milo-os/service-catalog#222.

Warning

Security pull requests that jump a major, like milo-os/activity#302, still open. Renovate forces its security settings over any package rule, so this rule cannot block them.

Test plan

  • Renovate's config validator accepts the file in strict mode
  • The rule matches floors keyed with a version and skips plain overrides
  • After merge, the next Renovate run on milo-os/activity proposes no major for a floor

No tracking issue. Renovate's source confirms the match: workspace overrides carry dependency type pnpm-workspace.overrides, with the full selector key as the dependency name.

An overrides entry keyed with a version selector, such as
"react-router@<6.30.6": "^6.30.6", lifts old copies of a package to a patched
release on the same major. Renovate treated the value as an ordinary range and
proposed raising it to the next major, which forces every copy onto that major
and breaks packages that still need the old one: react-router 8 breaks Remix v2
in milo-os/activity and milo-os/service-catalog.

Key changes:
- Disable major updates for npm, pnpm and pnpm-workspace overrides whose key
  carries a version selector
- Leave minor and patch updates, and overrides without a selector, untouched
@ecv
ecv merged commit e16fd67 into main Nov 9, 2026
4 checks passed
@ecv
ecv deleted the fix/renovate-override-major branch November 9, 2026 14:52
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.

2 participants