Skip to content

Commit 00fa428

Browse files
Paul Mulliganclaude
andcommitted
ci(e2e): drop unused WebKit from Playwright install
The Playwright config only defines Chromium projects (chromium-desktop, chromium-mobile), so WebKit was installed in CI but never launched by any test. Installing it pulled WebKit's ~181-package / 114 MB gstreamer+ffmpeg system-dependency stack from the Ubuntu archive on every run. On run 27790385490 (main @ 028f15c) that apt download stalled on a slow mirror and ran ~20 min until the job hit timeout-minutes: 20, surfacing as the misleading "Error: The operation was canceled." Install Chromium only. Removes the flaky/heavy install, speeds up every run, and loses zero coverage since WebKit was never tested. Cache key updated to drop the stale chromium-webkit binaries. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 028f15c commit 00fa428

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
id: playwright-cache
4040
with:
4141
path: ~/.cache/ms-playwright
42-
key: playwright-chromium-webkit-${{ runner.os }}-${{ hashFiles('widget/pnpm-lock.yaml') }}
42+
key: playwright-chromium-${{ runner.os }}-${{ hashFiles('widget/pnpm-lock.yaml') }}
4343

4444
- name: Install Playwright browsers
4545
if: steps.playwright-cache.outputs.cache-hit != 'true'
46-
run: pnpm exec playwright install --with-deps chromium webkit
46+
run: pnpm exec playwright install --with-deps chromium
4747

4848
- name: Install Playwright system deps
4949
if: steps.playwright-cache.outputs.cache-hit == 'true'
50-
run: pnpm exec playwright install-deps chromium webkit
50+
run: pnpm exec playwright install-deps chromium
5151

5252
- name: Run E2E tests
5353
run: pnpm e2e

0 commit comments

Comments
 (0)