Repository navigation
fix(ci): install Playwright browsers through the argos workspace (AI-assisted) - #12559
Merged
Merged
Conversation
…assisted) The pnpm isolated nodeLinker (#12535) no longer exposes the playwright binary at the repo root, breaking the Argos workflow. Also fix the root `argos` script and README referencing a non-existing script name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: 0 B Total Size: 12.4 MB ℹ️ View Unchanged
|
⚡️ Lighthouse report for the deploy preview of this PR
|
|
Size Change: 0 B Total Size: 12.6 MB ℹ️ View Unchanged
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
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.
Pre-flight checklist
Motivation
The Argos workflow fails at "Install Playwright browsers" with
Command "playwright" not found(e.g. run 36980453775). Main hasn't had an Argos build since 2026-09-24.Root cause: #12535 switched to the pnpm isolated
nodeLinker, so theplaywrightbinary is only linked inargos/node_modules/.bin(@playwright/testis a dependency of the privateargosworkspace package), not at the repo root.Changes:
pnpm --filter argos exec playwright install --with-deps chromiumargosscript: fix the call to the non-existingargos:upload-text-snapshotsscript (missingpnpm, wrong name) and run the full text-snapshots flow, like the workflow doesargos/README.md: fix the script name, document the browser install stepThe other
argos:*scripts already go throughpnpm --filter argosor use root binaries (cross-env,oxfmt), so they keep working.(AI-assisted)
Test Plan
Locally, after a fresh
pnpm installwith the isolated linker:pnpm playwright --version→Command "playwright" not found(reproduces CI)pnpm --filter argos exec playwright --version→Version 1.63.0pnpm --filter argos exec argos --version→6.9.2CI: the
Argoslabel is added on this PR so the workflow runs end to end.Test links
Deploy preview: https://deploy-preview-12559--docusaurus-2.netlify.app/
Related issues/PRs
🤖 Generated with Claude Code