From 5d05716d71d8fa47276b8f66c34399be659923b5 Mon Sep 17 00:00:00 2001 From: peptiderepo <273788462+peptiderepo@users.noreply.github.com> Date: Wed, 17 Jun 2026 11:50:00 +0700 Subject: [PATCH 1/3] fix(ci): drop --with-deps from playwright install on self-hosted runner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The VPS runner (peptide-vps) has OS-level Playwright deps pre-installed by root. --with-deps triggers apt-get which requires sudo, blocked by the runner's NoNewPrivileges systemd hardening. Drop the flag; Playwright's binary-only install succeeds as ghrunner with no elevated privileges. SSH-verified: npx playwright install chromium succeeds for ghrunner user; Chromium 149.0.7827.55 downloaded to /home/ghrunner/.cache/ms-playwright. Bump: v1.7.1 → v1.7.2 Agent-Session: smoke-playwright-nodeps-20260617 --- .github/workflows/smoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index c946a94..4207942 100755 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -53,7 +53,7 @@ jobs: run: npm ci - name: Install Playwright browsers - run: npx playwright install chromium --with-deps + run: npx playwright install chromium - name: Run smoke tests env: -- 2.49.1 From f0397f1c50fde848ac3b555721d12a058a7bfdfa Mon Sep 17 00:00:00 2001 From: peptiderepo <273788462+peptiderepo@users.noreply.github.com> Date: Wed, 17 Jun 2026 11:50:08 +0700 Subject: [PATCH 2/3] chore: bump version to 1.7.2 Agent-Session: smoke-playwright-nodeps-20260617 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index af89700..ee10ec4 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "peptide-e2e", - "version": "1.7.1", + "version": "1.7.2", "description": "Playwright smoke tests for peptiderepo.com (staging + production)", "private": true, "scripts": { -- 2.49.1 From 8024d4c89d67982e130e45db2db7a21fc0c0595f Mon Sep 17 00:00:00 2001 From: peptiderepo <273788462+peptiderepo@users.noreply.github.com> Date: Wed, 17 Jun 2026 11:50:21 +0700 Subject: [PATCH 3/3] docs: add v1.7.2 changelog entry Agent-Session: smoke-playwright-nodeps-20260617 --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7406fdb..aa88e6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog -## [1.7.1] - 2026-06-17 +## [1.7.2] - 2026-06-17 + +### Fixed +- **CI**: Drop `--with-deps` from `npx playwright install chromium` in `smoke.yml`. + The `peptide-vps` self-hosted runner has OS-level Playwright deps pre-installed by + root; `--with-deps` invokes `apt-get` which requires `sudo`, blocked by the runner's + `NoNewPrivileges=true` systemd hardening. Binary-only install works without + elevated privileges.## [1.7.1] - 2026-06-17 ### Changed - **CI/CD**: Switch `deploy-staging`, `deploy-production`, and `smoke` jobs from -- 2.49.1