From d7b459365f86878d81a8b963a51bd74d93391428 Mon Sep 17 00:00:00 2001 From: Robert Douglas <57234112+realrobertdouglas@users.noreply.github.com> Date: Wed, 2 Dec 2026 07:21:40 -0600 Subject: [PATCH] ci: pin the runner image to ubuntu-24.04 Main's e2e job has failed since 2026-11-26: ubuntu-latest moved to ubuntu-26.04, and the locked Playwright (1.58.2) has no Chromium build for it, so every shard died at `playwright install`. The last green run (2026-10-15) was on ubuntu-24.04. ci.yml's two jobs and regen-baselines.yml now name ubuntu-24.04. Pinned, not bumped: a newer Playwright moves the committed linux pixel baselines, which is its own change. Co-Authored-By: Claude Fable 5.2 --- .github/workflows/ci.yml | 10 ++++++++-- .github/workflows/regen-baselines.yml | 3 ++- AGENTS.md | 2 +- CHANGELOG.md | 15 +++++++++++++++ 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c4c1796..27379921 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,15 @@ concurrency: group: ci-${{ github.workflow }}-${{ github.head_ref || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} +# The runner image is PINNED (2026-12-02). `ubuntu-latest` moved to ubuntu-26.04 in November +# 2026 and the Playwright this repo locks (1.58.2) has no Chromium build for it: every e2e shard +# died at `playwright install` ("does not support chromium on ubuntu26.04-x64") and main was red +# from 2026-11-26. It is also the image the committed *-chromium-linux.png baselines were made +# on (regen-baselines.yml pins the same one). Move all three `runs-on` together, with a +# Playwright that supports the new image, and regenerate the baselines in the same change. jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -46,7 +52,7 @@ jobs: # (about 293 s). fail-fast is off so one red shard does not cancel the # other three and hide their failures. e2e: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/regen-baselines.yml b/.github/workflows/regen-baselines.yml index 4a9e7620..329fe3cc 100644 --- a/.github/workflows/regen-baselines.yml +++ b/.github/workflows/regen-baselines.yml @@ -18,7 +18,8 @@ on: jobs: regen: - runs-on: ubuntu-latest + # Pinned with ci.yml's two jobs: the baselines must be made on the image CI compares on. + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/AGENTS.md b/AGENTS.md index ef4577eb..ad66d6fa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -345,7 +345,7 @@ exceptions, `npm run check:courses` runs it alone; see [scripts/score-courses.js](scripts/score-courses.js)) — fourteen steps. Fast, no browser/cloud. Add new check steps to the `STEPS` table in scripts/check.js. [.github/workflows/ci.yml](.github/workflows/ci.yml) - runs it on every push/PR (Node 20), plus an **e2e job** running the Playwright + runs it on every push/PR (Node 20, on `ubuntu-24.04`, pinned: `ubuntu-latest` moved to 26.04, which the locked Playwright has no Chromium for; move it with a Playwright bump and regenerated linux baselines, regen-baselines.yml pins the same image), plus an **e2e job** running the Playwright suite split four ways by file (`--shard=N/4`, one runner each, `fail-fast: false`, one retry; chromium, own `npx serve` via the config's webServer; render-pixels runs against the committed `*-chromium-linux.png` baselines, and cloud-gated specs diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c98aa61..0ecd2bdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,21 @@ expired recovery UX" work occupies that slot). --- +## ci: the runner image is pinned to ubuntu-24.04 (2026-12-02) + +Main's CI had been red since 2026-11-26 (#339's merge): all four e2e shards +failed at `npx playwright install --with-deps chromium` with "Playwright does not support +chromium on ubuntu26.04-x64". Nothing in the repo had changed. `runs-on: ubuntu-latest` had +moved from ubuntu-24.04 (the last green run, 2026-10-15) to ubuntu-26.04, and the locked +Playwright (1.58.2) has no Chromium build for it. The `check` job needs no browser and stayed +green, so the end-to-end suite did not run on #339 or on #340. + +- `.github/workflows/ci.yml` (`check` and `e2e`) and `.github/workflows/regen-baselines.yml` say + `runs-on: ubuntu-24.04`. Pinned, not bumped: a newer Playwright brings a newer Chromium, which + moves render-pixels.spec.js's committed `*-chromium-linux.png` baselines; that is its own + change, with the baselines regenerated on the new image in the same PR. The comment in ci.yml + says so, and AGENTS.md's CI paragraph names the pin. + ## fix(zoom): a deep zoom is sharp to the edges of the view, and first under the pointer (ZOOM-EDGES, 2026-12-02) Reported by an estimator on a trackpad: "the change when the cursor is in the center of the