Skip to content

fix(ci): bump Playwright to 1.61.0 (live CDN + Ubuntu 26.04) + job timeout guard - #678

Merged
skazinka merged 3 commits into
mainfrom
fix/playwright-cdn
Nov 18, 2026
Merged

skazinka merged 3 commits into
mainfrom
fix/playwright-cdn

Conversation

@skazinka

@skazinka skazinka commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #677

Problem

Every PR's Lint and test job had been hanging on npm ci for ~6 hours (then cancelled at the Actions limit) since ~Nov 3 — repo-wide, independent of each PR's change. Root cause: playwright-chromium/-core are pinned at 1.44.1, and Playwright ≤ 1.49.1 downloads browsers from the retired playwright.azureedge.net CDN, so its postinstall stalls. See #677 for the full diagnosis.

Change

  1. apps/slides → playwright-chromium ^1.44.1 → ^1.61.0, lockfile pinned to exactly 1.61.0. Only playwright-chromium and playwright-core move; nothing else in the lockfile drifts.
  2. timeout-minutes: 20 on the Lint and test job, so any future hung step fails fast instead of burning 6 hours and hiding the cause.

Why 1.61.0 (not 1.50.0)

There are two constraints, and the first CI run surfaced the second:

  • New CDN: Playwright switched off the retired azureedge host at 1.50.0 (→ cdn.playwright.dev / playwright.download.prss.microsoft.com). 1.50.0 fixed the hang — npm ci dropped from 6h to ~100s.
  • Runner OS support: but 1.50.0 is too old for the ubuntu-latest (Ubuntu 26.04) runner and failed fast with Playwright does not support chromium on ubuntu26.04-x64. Ubuntu 26.04 browser builds were added in 1.61.0 (verified: 1.60.0 has none, 1.61.0 has them).

1.61.0 is the smallest version satisfying both — on the current CDN and supporting Ubuntu 26.04.

Verification

  • Lint and test is green: npm ci succeeds and the full lint/test/build pipeline runs in ~2 min (previously: 6h hang).
  • Lockfile diff is minimal: exactly 2 package versions change (playwright-chromium, playwright-core, both 1.44.1 → 1.61.0).

Draft history shows the 1.50.0 → 1.61.0 correction; left unsquashed intentionally.

🤖 Generated with Claude Code

skazinka and others added 3 commits November 17, 2026 15:45
Playwright <=1.49.1 downloads browsers from playwright.azureedge.net, which
Microsoft retired; its postinstall now stalls, hanging `npm ci` until the
6h Actions timeout. This has broken CI on every PR since ~Nov 3 (install
step cancelled at 6h), independent of each PR's actual change.

1.50.0 is the smallest release that uses the current CDN
(cdn.playwright.dev / playwright.download.prss.microsoft.com). Pin the
lockfile to 1.50.0 (smallest viable bump); only playwright-chromium and
playwright-core move.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Without a timeout the job inherits the 6h Actions default, so a hung step
(like the stalled Playwright CDN download) burns 6 hours before cancelling.
Fail fast so breakage is obvious.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.50.0 fixed the CDN but is too old for the ubuntu-latest (26.04) runner:
"Playwright does not support chromium on ubuntu26.04-x64". Ubuntu 26.04
browser builds were added in 1.61.0, which also uses the current CDN.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@skazinka skazinka changed the title fix(ci): bump Playwright to 1.50.0 (live CDN) + job timeout guard fix(ci): bump Playwright to 1.61.0 (live CDN + Ubuntu 26.04) + job timeout guard Nov 17, 2026
@skazinka
skazinka marked this pull request as ready for review November 17, 2026 16:31

@GioAc96 GioAc96 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@skazinka
skazinka merged commit 825bcf2 into main Nov 18, 2026
4 checks passed
@skazinka
skazinka deleted the fix/playwright-cdn branch November 18, 2026 09:19
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.

CI hangs for 6h on npm ci — Playwright 1.44.1 downloads from the retired azureedge CDN

2 participants