Skip to content

chore(devcontainer): only install chromium for playwright#100

Merged
CaseyHoover merged 1 commit intomainfrom
chore/playwright-chromium-only
May 9, 2026
Merged

chore(devcontainer): only install chromium for playwright#100
CaseyHoover merged 1 commit intomainfrom
chore/playwright-chromium-only

Conversation

@CaseyHoover
Copy link
Copy Markdown
Owner

@CaseyHoover CaseyHoover commented May 8, 2026

Summary

  • apps/web/playwright.config.ts only declares the chromium project, but the devcontainer's onCreateCommand ran an unqualified playwright install which pulls chromium, chromium-headless-shell, firefox, webkit, and ffmpeg
  • Pin to playwright install chromium to cut ~280 MB of unused browser downloads from every cold container start (and from CI cold runs through devcontainers/ci)
  • Reduces failure surface area for the Playwright browser install step (we recently saw two CI runs hang post-Chromium-extraction; fewer downloads = fewer chances to wedge)

Test plan

  • CI passes (verifies e2e still runs against chromium)
  • Cold devcontainer rebuild completes without missing-browser errors

playwright.config.ts only declares the chromium project, but the
unqualified `playwright install` downloads chromium, chromium-headless-shell,
firefox, webkit, and ffmpeg. Pin to chromium to cut ~280 MB of unused
browser downloads and shave a few seconds off cold container starts (and
CI runs through devcontainers/ci).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CaseyHoover CaseyHoover force-pushed the chore/playwright-chromium-only branch from 110fb41 to e782ce0 Compare May 9, 2026 02:47
@CaseyHoover CaseyHoover merged commit 6086eb9 into main May 9, 2026
8 checks passed
@CaseyHoover CaseyHoover deleted the chore/playwright-chromium-only branch May 9, 2026 02:50
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

🎉 This PR is included in version 1.0.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant