Skip to content

ci: pin Playwright e2e job to ubuntu-24.04 - #20

Merged
opariffazman merged 1 commit into
mainfrom
fm/playwright-pin-gitverse
Nov 16, 2026
Merged

opariffazman merged 1 commit into
mainfrom
fm/playwright-pin-gitverse

Conversation

@opariffazman

@opariffazman opariffazman commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Needs you

Merge, or request changes.

Summary

Pins the e2e job runner from ubuntu-latest to ubuntu-24.04. Playwright 1.60.0 cannot install a browser on Ubuntu 26.04, so e2e fails on main.

Risk

The pin only delays the fix. Playwright 1.60.0 still needs a later bump.

Agent detail

Facts

  • Kind: pull request
  • Rules class of the repo: none
  • Base branch: main, head 1c5b968
  • Files: 1 changed, +1 -1
    • .github/workflows/ci.yml
  • Checks: passing (3 read)
  • Merging runs a deploy or release workflow: no
    • .github/workflows/ci.yml on push to the base branch (no deploy or release step found, path filter: none)

Original text

## What

Pins the runner label of the `e2e` job in `.github/workflows/ci.yml` from `ubuntu-latest` to `ubuntu-24.04`.

```diff
   e2e:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     steps:
```

That is the entire diff: one line, one file.

## Why

`ubuntu-latest` now resolves to the Ubuntu 26.04 runner image, and Playwright 1.60.0 (the version locked in `package.json`) refuses to install a browser there. The `e2e` job is red on `main` right now.

Current state of `main` — CI run [`43783511826`](https://github.com/officialdad/gitverse/actions/runs/43783511826):

| job | job id | runner label | conclusion |
|---|---|---|---|
| `check` | `133025905235` | `ubuntu-latest` | success |
| `e2e` | [`133025905537`](https://github.com/officialdad/gitverse/actions/runs/43783511826/job/133025905537) | `ubuntu-latest` | **failure** |

Failing step of `e2e` is step 5, `npx playwright install --with-deps chromium`; step 6 `npm run test:e2e` is skipped. From the job log:

```
Ubuntu
26.04.1
BEWARE: your OS is not officially supported by Playwright;
installing dependencies for ubuntu26.04-x64 as a fallback.
Cannot install dependencies for ubuntu26.04-x64 with Playwright 1.60.0!
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64
```

So this is a hard install failure at the browser-provisioning step, not a flaky or failing assertion.

## Evidence from the org sweep

Source: `data/playwright-pin-sweep/report.md` (read-only org sweep of 53 repos, 83 workflow files, 157 jobs, dated 2026-11-16).

- **gitverse is the only repo in the org actually broken by this.** The sweep's finding table lists six live repos that install a Playwright browser on `ubuntu-latest`. Five are at Playwright `>= 1.61.0` (the first release supporting Ubuntu 26.04) or have not yet exercised 26.04. gitverse, at locked **1.60.0**, is the one with a live red check.
- **The sweep's top recommended action is this exact change**: *"Pin `gitverse` `.github/workflows/ci.yml` `e2e` to `ubuntu-24.04`. It is the only repo red today."*
- **Playwright 1.61.0 is the support floor for 26.04** per the [release notes](https://playwright.dev/docs/release-notes). The label pin is the smaller, dependency-free mitigation; the version bump is the durable one.
- **The pin is proven in this org.** `kooweez` already runs `ubuntu-26.04` with Playwright 1.64.1 and passes; `spinewall` and `devlog` have both passed on `Image: ubuntu-26.04` at 1.64.1.

## Scope and safety

- **Job and step names are unchanged.** Only `runs-on` moved, so no required check name changes. The sweep verified no workflow in the org interpolates a runner label into a job `name:`, and gitverse's rulesets carry no status-check contexts at all (only `pull_request`, `deletion`, `non_fast_forward` rules).
- **No Playwright or action version changes.** `@playwright/test` stays at `1.60.0` and every action stays on its pinned SHA. The dependency bump is owned by a separate wave.
- **No other job touched.** The `check` job deliberately remains on `ubuntu-latest`.
- **YAML still parses**; `npx prettier --check .github/workflows/ci.yml` passes.

## Possible rebase

Two PRs are open against `main`, both from Renovate:

- [#17](https://github.com/officialdad/gitverse/pull/17) — `vite` 8.1.6
- [#16](https://github.com/officialdad/gitverse/pull/16) — `vitest` 4.1.11

Both touch only `package.json` and `package-lock.json`, so neither conflicts with this workflow change and no rebase is expected in either direction.

## Verification

The `e2e` job on this PR is the test: it should get past `npx playwright install --with-deps chromium` on a 24.04 image and then run `npm run test:e2e`.

Writer

  • Written by pr-writer 0.1.3 with claude-sonnet-5-5.
  • The service never rewrites its own output. Edit the top part by hand to change it.

Playwright 1.60.0 cannot install a browser on Ubuntu 26.04, which
ubuntu-latest now resolves to, so the e2e job is red on main
(CI run 43783511826, job 133025905537).

Pin only the e2e job's runner label to ubuntu-24.04. Job and step
names are unchanged so required check names do not move. Playwright
and action versions are untouched; the dependency bump is a separate
change. The check job stays on ubuntu-latest.
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-11-16 02:09 UTC

@opariffazman
opariffazman merged commit 647f83a into main Nov 16, 2026
6 checks passed
@opariffazman
opariffazman deleted the fm/playwright-pin-gitverse branch November 16, 2026 02:09
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.

1 participant