fix(ci): Playwright browser install step wedges indefinitely (3× today) — needs a timeout
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Locate the workflow containing the 'Install Playwright browsers' step in the Frontend job and inspect how the Playwright version and browser installation are configured. Add a bounded install and browser caching as required, then verify that the acceptance criteria prevent silent hangs and allow reruns after a stalled download.
Written by the indexing model from the issue text.
Description
The 'Install Playwright browsers' step in the Frontend (unit + typecheck + e2e) job has wedged indefinitely three times today (Aug 19): runs 32229788587 (~57min), 32234484774 (~1h), 32248600716 (~25min before cancel). Normal duration: ~1-2 min. Each occurrence stalled the whole PR pipeline behind a zombie step and required manual cancel + rerun.
Pattern
- Step status stays in_progress with no log output progress; the job never self-terminates
- GitHub's default job timeout (360min) would eventually reap it, but nobody waits 6 hours
- Correlates with today's broader Actions flakiness (event-delivery drops on several branches, zombie Frontend job on main earlier) — likely CDN/network stalls on the browser download
Fix options (any one suffices)
- Wrap the install with a hard timeout:
timeout 300 npx playwright install chromium || (echo '::error::playwright install stalled'; exit 1)— turns a wedge into a fast, rerunnable failure - Set a job-level
timeout-minutes: 30on the frontend job (belt for any other wedging step) - Cache the browser binaries (actions/cache keyed on the playwright version) so the download step usually doesn't run at all — also faster
1+3 together is the sweet spot: cached binaries make the stall window rare, the timeout makes the remainder fail fast instead of wedging.
Acceptance criteria
- Install step has a bounded duration (timeout or job timeout-minutes)
- Browser binaries cached across runs
- A stalled install fails the job within minutes, visibly, instead of hanging silently
- Dominant language
- Go
- Stars
- 1
- Forks
- 1
- Avg merge
- 3h 24m
- Merged PRs (30d)
- 329
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lenaxia/LLMSafeSpaces
-
api good first issue P3 tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
lenaxia/LLMSafeSpaces#840 · 2 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
lenaxia/LLMSafeSpaces#1530 · 2 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
lenaxia/LLMSafeSpaces#1519 · 3 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
lenaxia/LLMSafeSpaces#1513 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
lenaxia/LLMSafeSpaces#1507 · 4 comments · 1 reaction ·
All issues in lenaxia/LLMSafeSpaces
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100