Skip to content

ci: key the Playwright browser cache on the runner image and installed version - #144

Merged
lwwmanning merged 1 commit into
mainfrom
claude/playwright-cache-key
Oct 30, 2026
Merged

lwwmanning merged 1 commit into
mainfrom
claude/playwright-cache-key

Conversation

@lwwmanning

Copy link
Copy Markdown
Contributor

The Playwright browser cache key was Linux-playwright-<version>, and it took the version from the package.json range. Two problems followed. The Ubuntu 26.04 runners in #116 restored WebKit builds made on Ubuntu 24.04, and WebKit failed to start because it needs Ubuntu 24's libicudata.so.74. Also, a lock refresh that installs a newer Playwright would restore browsers for the old version, because the cache-hit path does not install browsers.

The key now uses the installed Playwright version and the runner image ($ImageOS, for example ubuntu24).

🤖 Generated with Claude Code

…d version

The cache key was `Linux-playwright-<version>`, with the version read
from the package.json range. So the ubuntu-26.04 runners in #116
restored WebKit builds made on ubuntu-24.04, which fail to start
without Ubuntu 24's libicudata.so.74. And a lock refresh that installs
a newer Playwright than the range's floor would restore browsers for
the old version; the cache-hit path never installs new ones.

Read the version from the installed package, and add the runner image
($ImageOS, e.g. ubuntu24) to the key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Will Manning <will@willmanning.io>
@vercel

vercel Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
vortex Ready Ready Preview Oct 30, 2026 1:37am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T01:38:25.099298Z 031e85c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

🔦 Lighthouse audit

URL Perf A11y Best practices SEO Report
/ 🟢 100 🟢 100 🟢 96 🟢 100 report
/blog 🟢 100 🟢 100 🟢 96 🟢 100 report
/blog/btrblocks-compressor 🟢 100 🟢 96 🟢 96 🟢 100 report

Run 40986955611 · 2026-10-30 01:38 UTC

@lwwmanning
lwwmanning merged commit 1def15d into main Oct 30, 2026
20 checks passed
@lwwmanning
lwwmanning deleted the claude/playwright-cache-key branch October 30, 2026 01:42

This branch was successfully deployed

1 active deployment
Preview — 031e85c1 Deployed Oct 30, 2026 by vercel[bot]
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