Repository navigation
The image carries Playwright 1.65's libraries and takes amd64's Ubuntu packages from Azure's mirror - #98
Merged
Conversation
…n codefusion's browser jobs run
…ves up on a silent mirror after 20 s
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 image installs the system libraries the browsers load with
playwright install-deps, at Playwright 1.63.0. codefusion's browser jobs run Playwright 1.65.0.codefusion-cc/codefusion#567 makes a job's browser install check those libraries with
lddand run apt only for one that's missing. Until now every job ranapt-get updateand pulled newer packages anyway, and on 2026-11-23 a slow archive.ubuntu.com stretched that past the step's 10 minutes on every runner. With the image at the version the jobs use, the check finds everything installed and apt doesn't run.The amd64 image takes Ubuntu's packages from
azure.archive.ubuntu.com, Azure's mirror of archive.ubuntu.com that GitHub's own runners use, both for its own build and for each job's apt. This PR's first amd64 build, normally 4–5 minutes, was cancelled at its 60-minute limit while apt still downloaded from archive.ubuntu.com at a few kB/s. arm64 keeps ports.ubuntu.com, which Azure doesn't mirror. apt gives up on a mirror that stops answering after 20 s and retries each download 3 times. An amd64 build whose sources no longer name archive.ubuntu.com fails here rather than silently keeping the slow mirror.The comment that said
--with-deps"only downloads the browsers" was wrong: it always ranapt-get update. It now names the check that replaced it.Tested: the mirror step ran under
shagainst a copy of noble'subuntu.sourcesand a GitHub CLI source. Ubuntu's lines moved to Azure, and the other source stayed.image.ymlbuilds and verifies the image of each architecture on this change.