Repository navigation
Closed
Copy link
Description
Goal
CI is red on develop: Browser Tests (Playwright). Every run aborts in global setup because the WebKit browser cannot start on the current ubuntu-latest runner image; no test runs. No user-visible effect, but no PR can merge.
Context
- Failing step: Browser Tests (Playwright) / "Browser tests (Playwright)" (
npm run test:e2e):browserType.launch: Target page, context or browser has been closed…webkit-2370/minibrowser-wpe/bin/MiniBrowser: error while loading shared libraries: libicudata.so.74: cannot open shared object fileatapps/smart-ssh-community/frontend/e2e/global-setup.ts:13(engine.launch()forwebkit). Run 44506778321 (scheduled run). - Cause:
ubuntu-latestnow resolves to Ubuntu 26.04 ("resolute"). Playwright's WebKit build falls back to its Ubuntu 24.04 binary, which needslibicu74; that library does not exist on 26.04, andnpx playwright install-deps(.github/workflows/community.yml, jobbrowser-tests, line ~358runs-on: ubuntu-latest) cannot supply it. No code change is involved. - Introduced by: not a commit. The last commits on
develop(ee31f55ci: bump pinned GitHub Actions #1350 bumps onlytaiki-e/install-action) do not touch the browser tests; the runner image changed underneath. Last green:ac4f267. - Related, same root cause: job "Real app startup (tauri-driver)" (
real-app-tests, line ~466, alsoubuntu-latest) fails in "Install Linux dependencies":E: Package 'webkit2gtk-driver' has no installation candidate(on 26.04 the package is calledwebkitgtk-webdriver).
Requirements
- In
.github/workflows/community.yml, pin thebrowser-testsjob toruns-on: ubuntu-24.04(a Playwright-supported image) instead ofubuntu-latest, with a short comment saying why (Playwright's WebKit build needs the 24.04 libraries) and that the pin can go once Playwright supports the newer image. - Pin the
real-app-testsjob toubuntu-24.04too, so itswebkit2gtk-driverinstall works again (same cause; one-line change, keeps develop fully green). - Do not change the Playwright cache key logic beyond what is needed (the key contains
runner.os; a stale cache from the 26.04 runs must not be reused if it would contain incompatible browsers - add the image name to the key if in doubt).
Acceptance Criteria
- The checks Browser Tests (Playwright) pass on the PR
- Both Chromium and WebKit launch in
global-setup.tsand the whole suite runs (no skipped project) - "Real app startup (tauri-driver)" passes on the PR (or is not triggered because nothing relevant changed; then confirm it with the
ubuntu-24.04pin by reading the log of a run if available) - Fixed at the cause: no skipped test, no retry, no weakened check
- Relevant automated tests pass
Technical Notes
Only .github/workflows/community.yml changes; CI files under .github/ need the maintainer's review. No changelog fragment (CI only). The Test (ubuntu-latest) matrix job is green and stays as is.
Spec impact: none
Activity
[-]CI fails on develop: Browser Tests (Playwright)[/-][+]CI fails on develop: Browser Tests fail, WebKit cannot start on ubuntu-latest (26.04)[/+]smart-ssh-reviewer commentedon Nov 19, 2026
CI triage: Cause: no commit;
ubuntu-latestnow resolves to Ubuntu 26.04, where Playwright's WebKit build fails to start (libicudata.so.74missing), so global setup aborts. Fix: pin thebrowser-testsjob (andreal-app-tests, which fails onwebkit2gtk-driverfor the same reason) toubuntu-24.04. Last green: ac4f267.ci: pin browser and real-app test jobs to ubuntu-24.04 (#1353)
smart-ssh-coder commentedon Nov 19, 2026
Implementation ready for review. PR #1354. Pinned browser-tests and real-app-tests jobs to ubuntu-24.04 and put the image name in the Playwright cache key. CI is green on PR #1354, including Browser Tests and Real app startup.
smart-ssh-reviewer commentedon Nov 19, 2026
Review passed – moving on to merge. Approved. browser-tests and real-app-tests are pinned to ubuntu-24.04, and the Playwright cache key now includes the image name. CI is fully green. The Playwright suite ran all six Chromium/WebKit projects with 626 tests (607 passed, 19 skipped), the same as the last green develop run, so nothing new is skipped. Real app startup installed webkit2gtk-driver and passed 3/3. No retries, skips or weakened checks.
smart-ssh-coordinator commentedon Nov 19, 2026
Needs maintainer (merge): PR #1354 changes CI files under .github/ that only the maintainer approves (changes
runs-on: ubuntu-24.04; changesruns-on: ubuntu-latest). Review and approve it on GitHub, or merge it yourself (squash), then remove needs-maintainer; the merge continues.ci: pin browser and real-app test jobs to ubuntu-24.04 (#1353) (#1354)
smart-ssh-coordinator commentedon Nov 19, 2026
Merged and branch deleted: PR #1354 (squash) in develop
smart-ssh-planner commentedon Nov 19, 2026
Follow-ups filed: #1361 Keep the browser-tests runner image in AGENTS.md and the cache key in sync with the pin (low priority, on backlog). Both points were non-blocking review nits from PR #1354.