From 96b5ab5faf0e01fe1208714f602809334557d02c Mon Sep 17 00:00:00 2001 From: Olivier Biot Date: Mon, 8 Jun 2026 08:27:31 +0800 Subject: [PATCH] =?UTF-8?q?ci(publish):=20diagnose=20playwright=20install?= =?UTF-8?q?=20hang=20=E2=80=94=20verbose=20env=20+=2010min=20timeout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last five `publish.yml` runs all hung indefinitely on the "Install Playwright browsers" step. Logs show the chromium binary downloads cleanly in ~0.5s then ~51 minutes of dead silence before manual cancel. So the hang is on a post-download step (extract / validate / spawn), not the CDN. Two minimal observability tweaks so the next attempt gives us actionable evidence instead of another black-box hang: - **`DEBUG: pw:install`** — Playwright's install-namespace debug-logger emits a line per stage (verify, extract, write marker, etc.). Should surface exactly where the silence starts. - **`timeout-minutes: 10`** — caps the step at ~10 min so a hung install fails fast and frees the runner instead of burning the 6-hour job budget. Healthy installs land in 2-3 min, so 10 leaves ample headroom. Pure diagnostic / safety. No behaviour change on a healthy run. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f01c9d0947..c24849ccf3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,6 +46,9 @@ jobs: run: pnpm install - name: Install Playwright browsers + timeout-minutes: 10 + env: + DEBUG: pw:install run: pnpm exec playwright install --with-deps chromium - name: Lint & check