Tasks: publish-reference-browser-image
tasks7/8
1. CI Matrix
- 1.1 Add
reference-browserentry to thevalidateandpublishmatrices in.github/workflows/docker-images.yml, with dualcache-fromscopes (reference-browser+reference) so the~300 MBbrowser layer is reused rather than rebuilt. - 1.2 Add
reference-browserentry to thevalidate-release-imagesandpublish-imagesmatrices in.github/workflows/semantic-release.ymlwith the matching-release-suffixed cache scopes.
2. Operator-Facing Pointers
- 2.1 Update the
docker-compose.ymlwarning comment to nameghcr.io/vana-com/pdpp/reference-browser:mainas the published image operators can set viaPDPP_REFERENCE_IMAGE. - 2.2 Add a browser-connector callout in
deploy/docker/README.mdProduction section.
3. Gates
- 3.1
git diff --check— no whitespace errors. - 3.2 YAML review:
docker-images.ymlandsemantic-release.ymljob names, matrix entries, and cache directives are consistent with existing entries. - 3.3
node --test scripts/check-railway-template-artifacts.test.mjs— passes (no assertions reference the new image name; no regression). - 3.4 Owner triggers first publish via
gh workflow run docker-images.yml -f image=reference-browserand verifiesdocker exec pdpp-reference-1 ls /opt/patchright-browsersshowschromium_headless_shell-1217(Patchright 1.59.4, amd64).
Acceptance Checks
pnpm railway:template:test— passes.git diff --check— clean.openspec validate publish-reference-browser-image --strict— passes.