fix(e2e): pin @playwright/test to 1.61.1 to match nixpkgs browsers - #347
Merged
Conversation
Playwright browser binaries on this NixOS system are managed by nixpkgs playwright.browsers (currently 1.61.1, browser revision 1228). Renovate bumped @playwright/test to 1.62.0 (revision 1234) which has no matching browser binary in the Nix store. Pin to exact 1.61.1 (no caret) and disable Renovate updates for this package via renovate.json packageRules.
jinglemansweep
enabled auto-merge
July 24, 2026 23:20
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Pin
@playwright/testto exact1.61.1to match the browser binaries provided by nixpkgs, and disable future Renovate updates for this package.Problem
Renovate PR #340 bumped
@playwright/testfrom 1.61.1 to 1.62.0 (the caret^1.61.1allowed the minor bump). On this NixOS system, Playwright browser binaries are managed by nixpkgs (playwright.browsers), which provides Playwright 1.61.1 with browser revision 1228. Playwright 1.62.0 expects revision 1234, which doesn't exist in the Nix store path (PLAYWRIGHT_BROWSERS_PATH), causing:Changes
package.json:"@playwright/test": "^1.61.1"->"1.61.1"(exact pin, no caret)package-lock.json: downgraded@playwright/test,playwright,playwright-corefrom 1.62.0 to 1.61.1renovate.json: addedpackageRulesentry to disable updates for@playwright/testVerification
npx playwright test --list— 41 tests collected, browser binary foundnpx tsc --noEmit— cleannpx tsc -p e2e/tsconfig.json --noEmit— cleanpre-commit— all green