Repository navigation
ci: browser tests in Playwright's container image - #36
Merged
Merged
Conversation
…ng system packages with apt Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
The browser job ran into its 20 minute timeout twice today before a single test started:
npx playwright install --with-depsfetched the system packages from the Ubuntu mirror at a few KB/s (59 packages in 19 minutes). The tests now run in Playwright's own image, which carries the browsers and their libraries; nothing is installed with apt.ci.yml: a jobsitebuilds the documentation site (it needs pwsh, which the Playwright image lacks) and uploads it;browserruns inmcr.microsoft.com/playwright:v1.64.1-noble, pinned to its digest, as user 1001 (Playwright's recommendation for Firefox in containers), and downloads the site. Timeout 15 minutes. The browser cache step is gone, the image has the browsers.tests/js/ci.test.js: fails when the image version inci.ymldiffers from@playwright/testinpackage-lock.json. Dependabot raises the npm package only, so its pull request stays red until the image is raised with it.AGENTS.md: says so.Test plan
actionlintonci.ymlnpm test67/67; the new test fails with a mismatched image tag (checked by changing the tag locally)browserjob of this pull request runs in the container and passesPlaces checked: README and AGENTS.md (local commands keep
npx playwright install, unchanged), CONTRIBUTING.md (no CI details),release.yml(runs no browser tests).🤖 Generated with Claude Code