Files
renovate/lib
Kim Gustyr eee64df614 fix(workers/repository/extract): pass vulnerability alert state to managers (#46385)
* fix(extract): pass vulnerability alert state to managers

Managers cannot tell whether vulnerability remediation is active, so they
cannot decide to extract dependencies which are only useful to a security
update, e.g. transitive dependencies in a lock file.

Add `hasVulnerabilityAlertsRules` to `ExtractConfig`, derived from any
vulnerability source: `osvVulnerabilityAlerts`, or platform alerts, which
are turned into `isVulnerabilityAlert` package rules during init.

The flag is part of the extraction fingerprint, so cached extract results
are invalidated when it changes.

* refactor: drop redundant JSDoc on hasVulnerabilityAlertsRules

* docs(manager): document hasVulnerabilityAlertsRules on ExtractConfig

* fix(extract): omit hasVulnerabilityAlertsRules from fingerprint when false

Keeps the extract config hash unchanged for repositories which have no
vulnerability alerts, so they do not re-extract once on upgrade.
2026-09-22 17:43:43 +00:00
..