From 7df62b63f0bd96e77d931160617973f02edbfc2a Mon Sep 17 00:00:00 2001 From: Chaffed Date: Fri, 20 Nov 2026 13:11:47 -0800 Subject: [PATCH 1/2] CI image: libatomic1, for the Node that Playwright 1.65 bundles The lock refresh (#76) moves Playwright from 1.64.1 to 1.65.2, whose bundled Node needs libatomic.so.1; the CI image doesn't have it, so `playwright install` exits 127 before any test runs. The image installs it now; tests.yml moves to the new digest through the image workflow's own pull request. Co-Authored-By: Claude Opus 5.5 --- ci/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 3dd372f1..78a7ead3 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -19,9 +19,10 @@ ARG PLAYWRIGHT_VERSION # tesseract-ocr: OCR. libpango, libpangoft2, libcairo2: WeasyPrint's PDFs. git: actions/checkout. # libstdc++6: Node. The TypeScript SDK's tests run TypeScript directly, which needs Node 22.18+. +# libatomic1: the Node that Playwright bundles from 1.65 on (`playwright install` won't start without it). RUN apt-get update \ && apt-get install -y --no-install-recommends tesseract-ocr libpango-1.0-0 libpangoft2-1.0-0 libcairo2 \ - git ca-certificates libstdc++6 \ + git ca-certificates libstdc++6 libatomic1 \ && rm -rf /var/lib/apt/lists/* COPY --from=node /usr/local/bin/node /usr/local/bin/node From dd9f60cf64eafa18a0e146a8caefcc73d79788a7 Mon Sep 17 00:00:00 2001 From: Chaffed Date: Fri, 20 Nov 2026 13:21:37 -0800 Subject: [PATCH 2/2] CI image: current Python 3.11, 3.13 and Node 22 base images The image's own scan failed the 3.11 build on CVE-2026-115557 (critical; Python 3.11.17, fixed in 3.11.18): the pinned base digests were months old. All three move to today's digests. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci-image.yml | 4 ++-- ci/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-image.yml b/.github/workflows/ci-image.yml index ee16be5c..ff4c3823 100644 --- a/.github/workflows/ci-image.yml +++ b/.github/workflows/ci-image.yml @@ -35,9 +35,9 @@ jobs: matrix: include: - python-version: "3.11" - base: python:3.11-slim-bookworm@sha256:f06d01d4ba3f8ad5af45a3ec87df19c1d317d8e8961edc0fabda61811af6f7cf + base: python:3.11-slim-bookworm@sha256:a83ba18aef0f865b1a4a611c2cf460fe446f2795673bbb9fe43be570439e3b39 - python-version: "3.13" - base: python:3.13-slim-bookworm@sha256:fa16c23a012723c24eef39cc755a27babbba16b711e5d1e6cf16225ad21637cd + base: python:3.13-slim-bookworm@sha256:a5a7017efc5969e00ae2b91c8eb0631049a569652aa4ffc4501769049ae45c72 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/ci/Dockerfile b/ci/Dockerfile index 78a7ead3..842d6387 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -10,7 +10,7 @@ # --build-arg PLAYWRIGHT_VERSION=1.64.1 -t openclear-ci ci/ ARG PYTHON_IMAGE -ARG NODE_IMAGE=node:22-bookworm-slim@sha256:de170b39439eb0e5a3444ad7d60b015614a381e10fecae2e30ec9e735122f38d +ARG NODE_IMAGE=node:22-bookworm-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee FROM ${NODE_IMAGE} AS node