ci(e2e): drop unused WebKit from Playwright install#132
Merged
Conversation
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>
Deploying chat-widget with
|
| Latest commit: |
935ca7a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5dd5f72d.chat-widget-ejc.pages.dev |
| Branch Preview URL: | https://ci-e2e-drop-unused-webkit.chat-widget-ejc.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Install only Chromium for Playwright E2E in
e2e.yml; dropwebkitfrom both install commands and from the browser-cache key.Why
The E2E job for
main@028f15c(run 27790385490) failed with the misleadingError: The operation was canceled.That was not a manual/concurrency cancellation — the job hittimeout-minutes: 20:Install Playwright system depsstarted 21:28:02 and was killed at 21:47:53 (~20 min).playwright install-deps chromium webkit) stalled mid apt-download (log ends atlibavcodec60) pulling WebKit's ~181-package / 114 MB gstreamer+ffmpeg system-dependency stack from a slow Ubuntu mirror.WebKit is never used.
widget/playwright.config.tsdefines onlychromium-desktopandchromium-mobile— both Chromium.webkitappeared only in the twoe2e.ymlinstall lines, so the heavy, flaky install was pure waste.Effect
playwright-chromium-webkit-*→playwright-chromium-*to evict the now-stale WebKit browser binaries.Note
The
chromium-mobileproject uses the iPhone 13 device descriptor on the Chromium engine (not Safari/WebKit). If real iOS-Safari/cross-browser coverage is wanted later, that's a deliberate follow-up: add awebkitproject to the config and harden the deps install (Playwright container image or per-step timeout + retry).🤖 Generated with Claude Code