ci(renovate): freeze the version line of pnpm.overrides security pins #56
No reviewers
Labels
No labels
dependencies
major
security-pin
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
trails-cool/trails!56
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/renovate-freeze-override-pins"
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?
Stops the #35/#36 class of change: Renovate proposing — and auto-merging — version-line jumps on entries that exist as CVE floors rather than as dependencies.
Why these PRs are wrong by construction
An override entry is not a dependency. The key says which range is vulnerable; the value is the minimum patched version inside the range its consumers expect. Renovate cannot know that, so it offers "latest". Three examples from one week:
path-to-regexp <0.1.13→8.4.2express@4.22.2needs the 0.1.x API; 8.x is an incompatible router, and E2E brokepath-to-regexp <0.1.13→0.2.5shell-quote <1.8.4→1.10.0#35 is why this is a rule and not more labels
#52 tagged these PRs
security-pin. That reads well and gates nothing — so the auto-merge rule landed a minor bump on a security floor while the PR sat there correctly labelled. Documentation is not a control, and I should have paired the label with this rule at the time instead of deferring it.Patch stays enabled, deliberately
A patch inside the pinned line is exactly the right update for a floor (
picomatch 4.0.4 → 4.0.5) and cannot move consumers onto a different API. Only minor and major are frozen.The cost, stated in the config
If a future advisory can only be satisfied by crossing a minor or major — undici 7 going EOL, say — Renovate will not raise it and it has to be done by hand. That is the right trade while
osvVulnerabilityAlertsis unconfigured, because none of these PRs are advisory-driven today; they are version-currency noise aimed at security entries. Once OSV alerts are wired up, advisory-driven bumps arrive through that path instead, which is the correct source for changing a floor.Verified
Computed effective
enabled/automergeper scenario with later-wins ordering, rather than reading rule order:Follow-on
Once this lands, #36, #44, #46 and #47 are all updates Renovate no longer considers, so they should be closed. #35 already merged — worth deciding separately whether to revert it, since its
cd-appsdeploy was still queued as of a few minutes ago and production is on the pre-#35 image.