From 50e610ca1637bfc6b2485e5344b6c1b76ef0413f Mon Sep 17 00:00:00 2001 From: Harshvardhan Date: Sat, 22 Aug 2026 00:20:20 +0530 Subject: [PATCH] Add CI troubleshooting notes for Playwright browser setup Added a CI Troubleshooting section in the README.md explaining the Playwright browser mismatch symptom and the fix using pnpm setup:e2e. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ff80bf8..4f03fbc 100644 --- a/README.md +++ b/README.md @@ -275,6 +275,11 @@ harness/ralph.sh 2 20 sh -c 'copilot --output-format json --stream on --allow-al - Edit the check registry in [gate-data.ts](harness/gate-data.ts) and CI in [ci.yml](.github/workflows/ci.yml) - `semgrep` uses registry configs (`p/typescript`, `p/javascript`, `p/security-audit`); it needs network and a machine-level install +## CI Troubleshooting + +**Playwright browser mismatch in GitHub Actions** +If Playwright tests fail in CI because multiple browser projects are configured but only one browser is installed, run `pnpm --prefix harness run setup:e2e` in your CI workflow. This command installs the browser set expected by the Playwright config. + ## Coordination - Use `git log --oneline ..HEAD` to show what's unpushed.