ci: pin E2E tests to Ubuntu 22.04 for Playwright compatibility#833
Merged
ci: pin E2E tests to Ubuntu 22.04 for Playwright compatibility#833
Conversation
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>
There was a problem hiding this comment.
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.04for better Playwright compatibility - Add explanatory comments documenting the OS version pin
- Update Playwright installation step name for clarity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pins the E2E test job to Ubuntu 22.04 instead of
ubuntu-latestto resolve Playwright browser dependency warnings.Problem
ubuntu-latestnow resolves to Ubuntu 24.04, which has library version mismatches with Playwright's WebKit dependencies. This causes warnings like: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
ubuntu-22.04which has better Playwright compatibilityReference
Test plan
🤖 Generated with Claude Code