Verify the actual coordinator image in CI #124
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 389 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #124"
general
weight: 0.35
treetopdevs
Closes the backlog gap PR #89 left open: the coordinator image (
Dockerfile.coordinator) had never been built or run in CI.What it adds
.github/workflows/coordinator-image.yml, a sibling ofsite-image.ymlthat leaves it untouched. It runs on PRs, pushes to main and manual dispatch. It has read-only contents permission, pinned action SHAs and no repository secrets, and it publishes nothing.--iidfileand tests that image by ID. The image starts with its default command, the environment thatdocker compose configresolves fromcompose.dokploy.yaml, synthetic secrets generated for each run, and two labelled named volumes.tools/test/coordinator-image.test.tsruns these checks:- 13 against the started image: public status, admin and join auth, https redirect, CORS, the effective release config, the Deno validator and pinned case script from the image cache, the non-root user writing both volumes, a graceful stop and a restart that keeps state.
- 10 refusal cases, each a bad environment the image must refuse to start with.
- A control start without the join token.
failures=1 errors=0.tools/ci/verify-image-gate.mjsenforces this and is fixture-tested intools/test/ci-verify.test.ts.Evidence so far
tools/testandexperiments/testboth pass (2,327 tests). Typecheck and actionlint are clean.docs/coordinator-image-gate-2026-10-30.md.Finding (follow-up, not in this PR)
With
BL_DISCOVERY_JOIN_TOKENunset, the release admits unauthenticated joins via[::1]inside the container; via127.0.0.1they get 401. As deployed today this is guarded by Compose's:?check, and the site container is not loopback to the coordinator. A runtime refusal is being done separately.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Chores
Added an automated CI check that builds and validates the coordinator image, including startup, service behavior, and resource cleanup.
The check verifies the image runs without root privileges and rejects invalid production settings.
Documentation
Added guidance on image checks, local testing, and verification limitations, along with hosted and local test results.
Tests
* Added coverage for image validation, expected startup refusals, and cleanup behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->