Repository navigation
fix(docker): locate Playwright chrome-linux64 binary (fixes CI #14) - #21
Merged
Merged
Conversation
Playwright >=1.5x installs chromium under chrome-linux64, so the find on chrome-linux matched nothing and left dangling google-chrome symlinks; the supervisor then failed to spawn chrome (#14). Also add libatomic1 (needed by Playwright's bundled node) and stop swallowing playwright install errors.
libsqlite3-sys 0.30.1 bundles SQLite < 3.54.0 (uninitialised page-cache read with mismatched WAL). rusqlite 0.41 pulls libsqlite3-sys 0.39.1 (SQLite 3.54.1).
archive.ubuntu.com and security.ubuntu.com return SERVFAIL from the default resolvers on GitHub runners and a WSL2 host, failing every apt-get in the image build. The kernel.org mirror carries the same signed archive.
todie
force-pushed
the
fix/ci-chrome-binary
branch
from
November 11, 2026 15:03
30bce32 to
a1d1d24
Compare
This was referenced Nov 11, 2026
example.com no longer has an <h1> (title/first <p> only, no static <a>), and the supervisor now runs six processes. Assert on <title> and the paragraph text, and require at least the four desktop processes.
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.
Part of #14.
Root cause
Reproduced in a throwaway
ubuntu:24.04container:pip install playwrightgives 1.65.0, andplaywright install chromiumplaces the binary at/opt/ms-playwright/chromium-1254/chrome-linux64/chrome. The Dockerfile searchedchromium-*/chrome-linux, sofindmatched nothing,ln -sfcreated dangling links, and/usr/bin/google-chromenever existed. The supervisor then died withfailed to spawn chrome: No such file or directory. The|| trueon the install step and the uncheckedfind | headhid it at build time.Fix
-path '*/chromium-*/chrome-linux*/chrome', andtest -xbefore and after linking so a layout change fails the build.playwright install chromiumno longer swallows errors (scrapling installstays best-effort).libatomic1: Playwright's bundled node fails to start without it on 24.04 minimal.Verified
Layout and the libatomic failure were reproduced locally. The full image build could not run on the author host (rootless docker build DNS), so CI on this PR is the proof.
Also in this PR (each blocked CI on its own)
fix(deps):rusqlite0.32 -> 0.41 for RUSTSEC-2026-0459 (the Deny job was red on main).cargo deny check advisoriesok,reach-scrapertests pass.fix(docker): apt usesmirrors.edge.kernel.org. On 2026-11-11 the default resolvers (GitHub runner and a WSL2 host) return SERVFAIL for*.ubuntu.comwhile 1.1.1.1 resolves them, so everyapt-getin the build failed with exit 100 (CI Docker Build job, attempts 1 and 2). apt still verifies the Ubuntu keyring.Closes the root causes of #14. Does not touch #15 or #16.
Also: stale test expectations (found once the image started working)
With Chrome fixed, 8 of the old 39 E2E failures were stale expectations, not bugs:
example.comno longer has an<h1>(nor a static<a>), and the supervisor now runs 6 processes (t02 expected 4). Tests and the CI "Verify Scrapling" step now assert on<title>/ the paragraph text, and t02 requires at least the four desktop processes. Verified locally: full e2e suite, 39 passed (cargo test -p reach-cli --test e2e_container -- --ignored --test-threads=1).CI on head
0ba4aa6: 11/11 checks green, including Supervisor Health and E2E Tests.