Skip to content

ci: pin E2E tests to Ubuntu 22.04 for Playwright compatibility#833

Merged
GaryJones merged 1 commit intodevelopfrom
fix/playwright-ubuntu-compat
Dec 12, 2025
Merged

ci: pin E2E tests to Ubuntu 22.04 for Playwright compatibility#833
GaryJones merged 1 commit intodevelopfrom
fix/playwright-ubuntu-compat

Conversation

@GaryJones
Copy link
Copy Markdown
Contributor

Summary

Pins the E2E test job to Ubuntu 22.04 instead of ubuntu-latest to resolve Playwright browser dependency warnings.

Problem

ubuntu-latest now resolves to Ubuntu 24.04, which has library version mismatches with Playwright's WebKit dependencies. This causes warnings like:

Host system is missing dependencies to run browsers.
Missing libraries:
    libgtk-4.so.1
    libgraphene-1.0.so.0
    libwoff2dec.so.1.0.2
    ... (many more)

While these are warnings (not errors) and only affect WebKit (not Chromium which we use), they add noise to the CI logs and indicate a fragile setup.

Solution

  • Pin the test job to ubuntu-22.04 which has better Playwright compatibility
  • Added comment explaining why the pin exists
  • Clarified the Playwright installation step name

Reference

Test plan

  • CI passes on this PR (proving the fix works)

🤖 Generated with Claude Code

Ubuntu 24.04 (now ubuntu-latest) introduces library version mismatches
with Playwright's WebKit dependencies, causing browser installation
warnings for missing system libraries including libgtk-4.so.1 and
libgraphene-1.0.so.0.

Pinning to ubuntu-22.04 ensures consistent test execution without
dependency conflicts whilst Playwright updates its tooling to support
the newer Ubuntu release.

Also clarified the Playwright installation step name to better reflect
that it installs both browsers and system dependencies.

Reference: microsoft/playwright#32546

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings December 12, 2025 13:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR pins the E2E test job to Ubuntu 22.04 to resolve Playwright browser dependency warnings that occur on Ubuntu 24.04 (now the default for ubuntu-latest). The change addresses library version mismatches between Ubuntu 24.04 and Playwright's WebKit dependencies, which create noisy CI logs and indicate a fragile test environment.

Key changes:

  • Pin test job runner to ubuntu-22.04 for better Playwright compatibility
  • Add explanatory comments documenting the OS version pin
  • Update Playwright installation step name for clarity

@GaryJones GaryJones merged commit 9ccf735 into develop Dec 12, 2025
20 checks passed
@GaryJones GaryJones deleted the fix/playwright-ubuntu-compat branch December 12, 2025 13:20
@GaryJones GaryJones added this to the Next (minor) milestone Dec 12, 2025
@GaryJones GaryJones mentioned this pull request Jan 4, 2026
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.

2 participants