Skip to content

chore: exempt lock file maintenance from minimumReleaseAge check#4815

Merged
escapedcat merged 1 commit into
masterfrom
chore/renovate-exempt-lock-maintenance-stability
Jun 5, 2026
Merged

chore: exempt lock file maintenance from minimumReleaseAge check#4815
escapedcat merged 1 commit into
masterfrom
chore/renovate-exempt-lock-maintenance-stability

Conversation

@escapedcat

Copy link
Copy Markdown
Member

Lock file maintenance updates are package-manager-controlled and have no release timestamp, so the minimumReleaseAge (renovate/stability-days) status check can never pass. These PRs sit pending forever (e.g. #4786, #4775) even though all real CI is green and the check is non-required.

Add a packageRule setting minimumReleaseAge: null for the lockFileMaintenance update type, mirroring Renovate's own security:minimumReleaseAgeNpm preset ("Do not require Minimum Release Age for update types that are controlled by the package manager"). The 3-day gate and internalChecksFilter: strict stay in effect for all regular dependency updates.

Lock file maintenance updates are package-manager-controlled and have
no release timestamp, so the minimumReleaseAge (renovate/stability-days)
status check can never pass. These PRs sit pending forever (e.g. #4786,
#4775) even though all real CI is green and the check is non-required.

Add a packageRule setting minimumReleaseAge: null for the
lockFileMaintenance update type, mirroring Renovate's own
security:minimumReleaseAgeNpm preset ("Do not require Minimum Release
Age for update types that are controlled by the package manager"). The
3-day gate and internalChecksFilter: strict stay in effect for all
regular dependency updates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Review Summary by Qodo

Exempt lock file maintenance from minimumReleaseAge check

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Exempt lock file maintenance from minimumReleaseAge check
• Add packageRule setting minimumReleaseAge to null
• Prevent lock maintenance PRs from pending indefinitely
• Mirror Renovate's security:minimumReleaseAgeNpm preset behavior
Diagram
flowchart LR
  A["Renovate Config"] -->|packageRule added| B["Lock File Maintenance"]
  B -->|minimumReleaseAge: null| C["Skip stability check"]
  C -->|Regular updates unaffected| D["3-day gate remains"]

Loading

Grey Divider

File Changes

1. package.json ⚙️ Configuration changes +10/-1

Add packageRule exempting lock maintenance from stability check

• Added packageRules array to Renovate configuration
• Created rule matching lockFileMaintenance update type
• Set minimumReleaseAge to null for lock maintenance updates
• Included detailed description explaining the exemption rationale

package.json


Grey Divider

Qodo Logo

@qodo-code-review

qodo-code-review Bot commented Jun 5, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

@escapedcat escapedcat merged commit 8673847 into master Jun 5, 2026
14 checks passed
@escapedcat escapedcat deleted the chore/renovate-exempt-lock-maintenance-stability branch June 5, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant