Skip to content

fix(ci): key the Playwright browser cache on the distro release - #305

Merged
chaxus merged 1 commit into
mainfrom
ci/playwright-cache-os
Nov 3, 2026
Merged

chaxus merged 1 commit into
mainfrom
ci/playwright-cache-os

Conversation

@chaxus

@chaxus chaxus commented Nov 3, 2026

Copy link
Copy Markdown
Member

Problem

Nightly cross-browser run 41561076181 failed: every WebKit test died in 1ms with MiniBrowser: error while loading shared libraries: libicudata.so.74. ubuntu-latest now resolves to Ubuntu 26.04, and the browser cache key playwright-Linux-1.64.0-webkit restored the WebKit build cached on 24.04. Playwright ships a separate build per Ubuntu release.

Change

  • Cache key now includes the distro ($ID$VERSION_ID from /etc/os-release) and runner.arch.
  • workflow-contract.test.ts pins the distro segment. Reverse check: reverting only action.yml turns it red; restored, 68/68 pass.
  • Exploration record: docs/explorations/2026-11-03-playwright-cache-distro.md.

Verification

Nightly dispatched on this branch twice (cold cache, then cache hit), with skip_corpus. Firefox's 4 focus failures in agent-interface-affordances.spec.ts are expected to be checked by the same runs.

🤖 Generated with Claude Code

ubuntu-latest moved to 26.04 and restored the WebKit build cached on
24.04, which cannot start there (libicudata.so.74 missing). Playwright
ships one build per Ubuntu release, so the key now carries the distro
and the runner arch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Deploying document with  Cloudflare Pages  Cloudflare Pages

Latest commit: 09581c3
Status: ✅  Deploy successful!
Preview URL: https://ba2a0304.document-7hm.pages.dev
Branch Preview URL: https://ci-playwright-cache-os.document-7hm.pages.dev

View logs

@chaxus
chaxus merged commit 31de547 into main Nov 3, 2026
29 of 31 checks passed
@chaxus
chaxus deleted the ci/playwright-cache-os branch November 3, 2026 05:33
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