Skip to content

fix: Remove --with-deps from playwright install (was hanging)#2

Merged
Desperado merged 1 commit into
mainfrom
fix/playwright-install-hang
Apr 10, 2026
Merged

fix: Remove --with-deps from playwright install (was hanging)#2
Desperado merged 1 commit into
mainfrom
fix/playwright-install-hang

Conversation

@Desperado
Copy link
Copy Markdown
Contributor

Summary

The QualityMax GitHub Action was hanging in npx playwright install --with-deps chromium for 8+ minutes until killed. Fixed by removing the --with-deps flag (Ubuntu 24.04 runners already have all required system libs), pinning Playwright version, and removing silent flag so progress is visible.

Root cause

From the GitHub Actions logs (run #24241246655):

2026-04-10T11:43:13.499Z Installing Playwright...
2026-04-10T11:51:57.097Z Terminate orphan process: pid (2304) (npm exec playwright install --with-deps chromium)

The --with-deps flag invokes apt-get to install system packages. On Ubuntu 24.04 GitHub runners this either hangs waiting for sudo or tries to install packages that are already present. With silent: true on the exec call, there was no visible output to debug.

Changes

  • Drop --with-deps (Ubuntu 24.04 runners already have all required system libs)
  • Pin @playwright/test to 1.49.0 (was using latest)
  • Remove silent: true from npm install and playwright install
  • Bump version to 1.2.1

Test plan

  • Merge, cut v1.2.1, update v1 floating tag
  • Re-trigger workflow on qualitymax-demo-playground
  • Verify install completes in <60s and tests actually run

🤖 Generated with Claude Code

The action was hanging in `npx playwright install --with-deps chromium`
for 8+ minutes until killed. The --with-deps flag invokes apt-get to
install system packages, which on Ubuntu 24.04 GitHub runners hangs
silently. Combined with `silent: true`, there was no visible output.

Fix:
- Drop --with-deps (Ubuntu 24.04 runners already have all required libs)
- Pin @playwright/test to 1.49.0 (was using 'latest' which is risky)
- Remove silent: true from npm install and playwright install so progress
  is visible if something does go wrong
- Bump version to 1.2.1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Desperado Desperado merged commit 66f93bc into main Apr 10, 2026
2 of 3 checks passed
@Desperado Desperado deleted the fix/playwright-install-hang branch April 10, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant