ci(smoke): add comment explaining why --with-deps is omitted #24

Merged
peptiderepo merged 1 commits from claude/smoke-no-withdeps-20260617 into main 2026-06-17 05:12:50 +00:00
peptiderepo commented 2026-06-17 05:10:39 +00:00 (Migrated from github.com)

What changed

Adds an inline YAML comment to the Install Playwright browsers step in smoke.yml:

# OS deps pre-installed on the self-hosted runner host; --with-deps needs sudo which the sandbox blocks
run: npx playwright install chromium

Why

The --with-deps flag was dropped in commit e00f777 (PR #23) because the ghrunner sandbox on peptide-vps runs with NoNewPrivileges=yes, which blocks the apt-get calls that --with-deps triggers. That commit dropped the flag but left no comment explaining the omission. Future maintainers seeing a bare npx playwright install chromium might add --with-deps back assuming it is a mistake. This comment closes that gap.

Risk flags

None — zero functional change. Comment only.

Test plan

  • YAML validated via python3 yaml.safe_load: VALID
  • git diff confirms exactly 1 line inserted, no other changes
  • actionlint/yamllint not available on the CI sandbox; Python parse sufficient for a comment-only change

Do NOT merge — awaiting CTO review.

## What changed Adds an inline YAML comment to the `Install Playwright browsers` step in `smoke.yml`: ```yaml # OS deps pre-installed on the self-hosted runner host; --with-deps needs sudo which the sandbox blocks run: npx playwright install chromium ``` ## Why The `--with-deps` flag was dropped in commit `e00f777` (PR #23) because the `ghrunner` sandbox on `peptide-vps` runs with `NoNewPrivileges=yes`, which blocks the `apt-get` calls that `--with-deps` triggers. That commit dropped the flag but left no comment explaining the omission. Future maintainers seeing a bare `npx playwright install chromium` might add `--with-deps` back assuming it is a mistake. This comment closes that gap. ## Risk flags None — zero functional change. Comment only. ## Test plan - YAML validated via `python3 yaml.safe_load`: VALID - `git diff` confirms exactly 1 line inserted, no other changes - actionlint/yamllint not available on the CI sandbox; Python parse sufficient for a comment-only change **Do NOT merge** — awaiting CTO review.
Sign in to join this conversation.