Skip to content

The image carries Playwright 1.65's libraries and takes amd64's Ubuntu packages from Azure's mirror - #98

Merged
codefusion-automerge[bot] merged 4 commits into
mainfrom
fix/image-playwright-1-65
Nov 23, 2026
Merged

codefusion-automerge[bot] merged 4 commits into
mainfrom
fix/image-playwright-1-65

Conversation

@XeonFX

@XeonFX XeonFX commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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 ldd and run apt only for one that's missing. Until now every job ran apt-get update and 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 ran apt-get update. It now names the check that replaced it.

Tested: the mirror step ran under sh against a copy of noble's ubuntu.sources and a GitHub CLI source. Ubuntu's lines moved to Azure, and the other source stayed. image.yml builds and verifies the image of each architecture on this change.

@XeonFX XeonFX changed the title The image carries the system libraries of Playwright 1.65, the version codefusion's browser jobs run The image carries Playwright 1.65's libraries and takes amd64's Ubuntu packages from Azure's mirror Nov 23, 2026
@XeonFX XeonFX added the automerge Merges itself once every check is green label Nov 23, 2026
@codefusion-automerge
codefusion-automerge Bot merged commit 3893c60 into main Nov 23, 2026
10 checks passed
@codefusion-automerge
codefusion-automerge Bot deleted the fix/image-playwright-1-65 branch November 23, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Merges itself once every check is green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant