Repository navigation
chore(renovate): re-enable lock file maintenance Yarn Modern - #1968
Merged
jennifer-shehane merged 2 commits intoNov 13, 2026
Merged
jennifer-shehane merged 2 commits into
jennifer-shehane merged 2 commits into
Conversation
jennifer-shehane
approved these changes
Nov 13, 2026
|
🎉 This PR is included in version 7.4.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Situation
Renovate was failing in lock file maintenance when both Yarn v1 Classic and Yarn Modern were enabled. As a workaround, Yarn Modern lock file maintenance was disabled in PR #1909.
Testing against Renovate 44.228.0 showed that this issue is no longer occurring.
Change
In renovate.json remove the
lockFileMaintenancedisable for/^examples/yarn-modern/Verification
Check lock file maintenance PRs created by Renovate, and confirm there is no longer any error related to Yarn updates.
Note
Low Risk
Only removes a Renovate package rule in renovate.json; no runtime, auth, or application code changes.
Overview
Reverts a Renovate workaround that had turned off lock file maintenance only for
examples/yarn-modern.The diff drops the
packageRulesentry that setlockFileMaintenanceto disabled whenmatchFileNamesmatched/^examples/yarn-modern/. Examples still get lock file maintenance via the existing rule that enables it forexamples/**(withminimumReleaseAgecleared). Global lock file maintenance stays off outside those paths.Why: lock maintenance was failing when Yarn Classic and Yarn Modern were both in play; that behavior is no longer seen on current Renovate, so Yarn Modern examples can participate in maintenance again and close #1910.
Reviewed by Cursor Bugbot for commit 18caabd. Bugbot is set up for automated code reviews on this repo. Configure here.