Proposal: publish-reference-browser-image
Why
The June-6 image-slimming change made the default reference image
browser-free (the browsers Dockerfile stage was retained but its output was
never wired into CI publication). Deployments that run browser-backed
connectors (ChatGPT, USAA, ...) inside the reference container hit a silent
hard failure at Patchright launch: "Executable doesn't exist at
/opt/patchright-browsers/...". The fix took four days to diagnose because
the image advertised no build-time signal that browsers were absent.
The reference-browser Dockerfile target exists and has always been
correct; it was simply never added to the CI publish matrix.
What Changes
-
docker-images.yml— addreference-browserto thevalidateandpublishjob matrices, publishingghcr.io/vana-com/pdpp/reference-browser:<same tags>onworkflow_dispatchand tag pushes. Main-branch pushes only validate (same gating as every other image). Cache hint: pull from both thereference-browserscope and thereferencescope so the shared base layers and the~300 MBbrowser layer survive across builds. -
semantic-release.yml— addreference-browserto thevalidate-release-imagesandpublish-imagesjob matrices with the same scope-sharing cache strategy (scope suffix-release). -
docker-compose.yml— update the warning comment to name the published image operators can set viaPDPP_REFERENCE_IMAGE. -
deploy/docker/README.md— add a visible note in the Production section explaining how to opt in to the browser-capable image.
Non-Changes
- The
referenceimage stays browser-free; no existing deployment is broken. - Railway-core, Fly.io, and quickstart paths are unaffected.
- No new Dockerfile stages or changes to the
reference-browsertarget itself. .env.dockerand gitignored override files are not modified.