fix(ci): drop --with-deps from playwright install on self-hosted runner (v1.7.2) #23
Reference in New Issue
Block a user
Delete Branch "claude/smoke-playwright-nodeps-20260617"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
Drop
--with-depsfromnpx playwright install chromiumin.github/workflows/smoke.yml.Why
The
peptide-vpsself-hosted runner has Playwright OS deps pre-installed system-wide by root during runner setup. The--with-depsflag invokessudo apt-get, which is blocked by the runner'sNoNewPrivileges=truesystemd hardening (ghrunner has no sudo). This caused thesmokejob to fail on every repo using the shared pipeline.SSH verification
Confirmed via
su - ghrunner:npx playwright install chromium(no--with-deps) succeeds without sudo and downloads Chromium 149.0.7827.55 to/home/ghrunner/.cache/ms-playwright/. No OS libs were missing.Risk flags
Minimal. Single-line change. Only removes an unnecessary flag; all browser functionality unchanged. NoNewPrivileges hardening is preserved.
Test plan
ci-self-test.ymlvalidates the workflow itselfsmokejob should go green onpeptide-vpsBump: v1.7.1 → v1.7.2
Agent-Session: smoke-playwright-nodeps-20260617