Repository navigation
fix(PER-8766): install with --frozen-lockfile in CI and release - #669
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
Claude Code PR ReviewPR: #669 • Head: 964c628 • Reviewers: stack:code-review, stack-percy-docs-reviewer SummarySwitches the bare Review Table
Findings
Pre-existing (not gating)
Knowledge coverage (stack-percy-docs-reviewer): N/A. This is a non-architectural CI change. Verdict: PASS |
Shivanshu-07
approved these changes
Oct 21, 2026
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.
Why
PER-8766 (security finding F-009, hardening):
release.ymlran a bareyarnbeforenpm publish. Ifyarn.lockdrifts frompackage.json, yarn v1 quietly re-resolves and installs versions that were never reviewed or tested, and they ship in the published@percy/playwrighttarball.What
release.yml,lint.yml,typecheck.yml, and the top-level install intest.yml:yarnchanged toyarn install --frozen-lockfile. A lockfile/manifest mismatch now fails CI instead of resolving silently.workflow_dispatchpercy/cli-branch block intest.ymlis unchanged, because it installs a separate checkout. The deprecatedset-outputlines are also unchanged; they are a separate concern.Verification
yarn install --frozen-lockfile --ignore-scripts(yarn 1.22.22) succeeds on node:18 and node:20: 342 packages, exit 0, andyarn.lockstays byte-identical. The committed lockfile is already in sync, so no lockfile change is needed.🤖 Generated with Claude Code
Summary by CodeRabbit