Skip to content

Commit 23b9994

Browse files
aaditagrawalaaditagrawal
andauthored
ci: cap + soft-fail the Playwright browser steps (#98)
The browser-runtime install intermittently hangs after the chromium download (a follow-up fetch stalls for the whole job), which was timing out the quality job. Add a 12m step timeout so a stall can't hang the job, and mark the install + browser test continue-on-error so a flaky external download doesn't fail CI. Build/verify steps stay blocking. Co-authored-by: aaditagrawal <tech@aaditagrawal.com>
1 parent b6deccf commit 23b9994

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,21 @@ jobs:
103103
continue-on-error: true
104104
run: bunx turbo run test --filter='@t3tools/desktop'
105105

106+
# The Playwright browser download intermittently stalls on the runner
107+
# (the chromium archive finishes, then a follow-up fetch hangs for the
108+
# whole job). Cap the step so a stall can't hang the job, and keep it (and
109+
# the browser test) non-blocking so a flaky download doesn't fail CI. They
110+
# still run and report when the network cooperates; the browser cache
111+
# above keeps successful runs fast.
106112
- name: Install browser test runtime
113+
continue-on-error: true
114+
timeout-minutes: 12
107115
run: |
108116
cd apps/web
109117
bunx playwright install --with-deps chromium
110118
111119
- name: Browser test
120+
continue-on-error: true
112121
run: bun run --cwd apps/web test:browser
113122

114123
- name: Build desktop pipeline

0 commit comments

Comments
 (0)