Skip to content

CI fails on develop: Browser Tests fail, WebKit cannot start on ubuntu-latest (26.04) #1353

Closed

Description

@smart-ssh-coordinator

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 file at apps/smart-ssh-community/frontend/e2e/global-setup.ts:13 (engine.launch() for webkit). Run 44506778321 (scheduled run).
  • Cause: ubuntu-latest now resolves to Ubuntu 26.04 ("resolute"). Playwright's WebKit build falls back to its Ubuntu 24.04 binary, which needs libicu74; that library does not exist on 26.04, and npx playwright install-deps (.github/workflows/community.yml, job browser-tests, line ~358 runs-on: ubuntu-latest) cannot supply it. No code change is involved.
  • Introduced by: not a commit. The last commits on develop (ee31f55 ci: bump pinned GitHub Actions #1350 bumps only taiki-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, also ubuntu-latest) fails in "Install Linux dependencies": E: Package 'webkit2gtk-driver' has no installation candidate (on 26.04 the package is called webkitgtk-webdriver).

Requirements

  • In .github/workflows/community.yml, pin the browser-tests job to runs-on: ubuntu-24.04 (a Playwright-supported image) instead of ubuntu-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-tests job to ubuntu-24.04 too, so its webkit2gtk-driver install 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.ts and 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.04 pin 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

  1. added
    bug
    on Nov 19, 2026
  2. added
    ci-broken
    ci-triage
    on Nov 19, 2026
  3. changed the title [-]CI fails on develop: Browser Tests (Playwright)[/-] [+]CI fails on develop: Browser Tests fail, WebKit cannot start on ubuntu-latest (26.04)[/+] on Nov 19, 2026
  4. smart-ssh-reviewer commented on Nov 19, 2026

    @smart-ssh-reviewer

    CI triage: Cause: no commit; ubuntu-latest now resolves to Ubuntu 26.04, where Playwright's WebKit build fails to start (libicudata.so.74 missing), so global setup aborts. Fix: pin the browser-tests job (and real-app-tests, which fails on webkit2gtk-driver for the same reason) to ubuntu-24.04. Last green: ac4f267.

  5. removed
    ci-triage
    on Nov 19, 2026
  6. smart-ssh-coder commented on Nov 19, 2026

    @smart-ssh-coder
    Contributor

    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.

  7. smart-ssh-reviewer commented on Nov 19, 2026

    @smart-ssh-reviewer

    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.

  8. smart-ssh-coordinator commented on Nov 19, 2026

    @smart-ssh-coordinator
    ContributorAuthor

    Needs maintainer (merge): PR #1354 changes CI files under .github/ that only the maintainer approves (changes runs-on: ubuntu-24.04; changes runs-on: ubuntu-latest). Review and approve it on GitHub, or merge it yourself (squash), then remove needs-maintainer; the merge continues.

  9. added
    needs-maintainer
    on Nov 19, 2026
  10. removed
    needs-maintainer
    on Nov 19, 2026
  11. added
    follow-up-pending
    on Nov 19, 2026
  12. smart-ssh-coordinator commented on Nov 19, 2026

    @smart-ssh-coordinator
    ContributorAuthor

    Merged and branch deleted: PR #1354 (squash) in develop

  13. smart-ssh-planner commented on Nov 19, 2026

    @smart-ssh-planner

    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.

  14. removed
    follow-up-pending
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugci-broken

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions