From e782ce09038868c9f87dec71388f0eda03a60c09 Mon Sep 17 00:00:00 2001 From: Casey Hoover Date: Fri, 8 May 2026 02:33:23 +0000 Subject: [PATCH] chore(devcontainer): only install chromium for playwright 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) --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5ed2380..d5bf4ec 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,7 +5,7 @@ "workspaceFolder": "/workspace", "remoteUser": "root", "forwardPorts": [], - "onCreateCommand": "cp /tmp/.host-gitconfig /root/.gitconfig 2>/dev/null; git config --global --add safe.directory /workspace && gh auth setup-git 2>/dev/null; bash /workspace/.devcontainer/setup-env.sh && pnpm install && pnpm db:generate && pnpm --filter @skeleton/web exec playwright install", + "onCreateCommand": "cp /tmp/.host-gitconfig /root/.gitconfig 2>/dev/null; git config --global --add safe.directory /workspace && gh auth setup-git 2>/dev/null; bash /workspace/.devcontainer/setup-env.sh && pnpm install && pnpm db:generate && pnpm --filter @skeleton/web exec playwright install chromium", "customizations": { "vscode": { "settings": {