fix(ci): drop --with-deps from playwright install on self-hosted runner (v1.7.2) #23

Merged
peptiderepo merged 3 commits from claude/smoke-playwright-nodeps-20260617 into main 2026-06-17 04:51:33 +00:00
peptiderepo commented 2026-06-17 04:50:33 +00:00 (Migrated from github.com)

What changed

Drop --with-deps from npx playwright install chromium in .github/workflows/smoke.yml.

Why

The peptide-vps self-hosted runner has Playwright OS deps pre-installed system-wide by root during runner setup. The --with-deps flag invokes sudo apt-get, which is blocked by the runner's NoNewPrivileges=true systemd hardening (ghrunner has no sudo). This caused the smoke job 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 on this PR: ci-self-test.yml validates the workflow itself
  • After merge: re-run peptide-reconstitution-calculator Deploy workflow; smoke job should go green on peptide-vps

Bump: v1.7.1 → v1.7.2

Agent-Session: smoke-playwright-nodeps-20260617

## What changed Drop `--with-deps` from `npx playwright install chromium` in `.github/workflows/smoke.yml`. ## Why The `peptide-vps` self-hosted runner has Playwright OS deps pre-installed system-wide by root during runner setup. The `--with-deps` flag invokes `sudo apt-get`, which is blocked by the runner's `NoNewPrivileges=true` systemd hardening (ghrunner has no sudo). This caused the `smoke` job 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 on this PR: `ci-self-test.yml` validates the workflow itself - After merge: re-run peptide-reconstitution-calculator Deploy workflow; `smoke` job should go green on `peptide-vps` Bump: v1.7.1 → v1.7.2 Agent-Session: smoke-playwright-nodeps-20260617
Sign in to join this conversation.