Skip to content

chore(renovate): re-enable lock file maintenance Yarn Modern - #1968

Merged
jennifer-shehane merged 2 commits into
cypress-io:masterfrom
MikeMcC399:renovate-config/enable-lockfile-yarn-modern
Nov 13, 2026
Merged

jennifer-shehane merged 2 commits into
cypress-io:masterfrom
MikeMcC399:renovate-config/enable-lockfile-yarn-modern

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

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 lockFileMaintenance disable 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 packageRules entry that set lockFileMaintenance to disabled when matchFileNames matched /^examples/yarn-modern/. Examples still get lock file maintenance via the existing rule that enables it for examples/** (with minimumReleaseAge cleared). 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.

@MikeMcC399 MikeMcC399 self-assigned this Nov 12, 2026
@MikeMcC399
MikeMcC399 marked this pull request as ready for review November 12, 2026 07:43
@MikeMcC399
MikeMcC399 requested a review from mschile November 12, 2026 07:44
@jennifer-shehane
jennifer-shehane merged commit 1e37625 into cypress-io:master Nov 13, 2026
95 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 7.4.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Renovate: lock file maintenance fails in Yarn Modern

2 participants