Repository navigation
ci: mirror Docker release images to Vercel registry - #120058
Conversation
e489601 to
0d45d9c
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 10, 2026, 4:09 PM ET / 20:09 UTC. ClawSweeper reviewWhat this changesAdds a best-effort Vercel Container Registry mirror for attested Docker release images, with immutable-copy verification, Sandbox smoke checks, and channel-alias promotion. Merge readinessKeep open. Current main has no Vercel Container Registry mirror, but this privileged release addition needs release-owner scope confirmation and exact-head SecOps/admin authorization for its locked Vercel CLI closure before merge. Priority: P1 Review scores
Verification
How this fits togetherThe release pipeline publishes Docker images, verifies their provenance, and finalizes GitHub releases. This adds a separate Vercel registry mirror that consumes verified immutable image references and promotes aliases only after a Sandbox smoke succeeds. flowchart LR
A[Release publish] --> B[Docker images]
B --> C[Attestation verification]
C --> D[Vercel image mirror]
D --> E[Sandbox smoke]
E --> F[Channel aliases]
B --> G[GitHub release finalization]
Decision needed
Why: The patch creates a new token-bearing executable dependency boundary and registry output; source review cannot substitute for the required SecOps/admin authorization or release-owner intent. Before merge
Findings
Agent review detailsSecurityNeeds attention: The token exposure sequence is deliberately constrained, but the new privileged Vercel CLI dependency closure requires exact-head SecOps/admin authorization. PR surfaceTests +548, Config +4661, Other +633. Total +5842 across 11 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: If release owners want a private VCR mirror, retain the isolated immutable-digest flow and obtain exact-head SecOps approval of the pinned CLI closure before rerunning the dependency guard. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a new release capability, not a reported defect. The PR body does record a live VCR tag readback and Sandbox smokes for beta, stable, and extended-stable channels. Is this the best way to solve the issue? Unclear: the isolated digest handoff is a coherent implementation, but current official release behavior only covers GHCR and Docker Hub, so maintainers must first choose whether VCR is a supported release surface. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9edc5312442d. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
|
@clawsweeper re-review Fixed all four release-safety blockers on |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
c9c63da to
79fd999
Compare
|
@openclaw/openclaw-secops @steipete Exact-head dependency authorization is needed for This is the same reviewed VCR patch rebased onto current |
|
@clawsweeper re-review Please refresh the durable review for exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@vincentkoc Could you review the intentional dependency closure and, if acceptable, authorize exact head |
|
@joshavant Final merge blocker on #120058: could you review the intentional integrity-pinned |
|
/allow-dependencies-change |
* ci: publish release images to Vercel registry * ci: publish beta images to Vercel registry * fix(ci): allow beta Vercel dispatch * fix(ci): publish VCR-compatible image indexes * fix(ci): allow VCR readiness propagation * fix(ci): use Sandbox as VCR readiness proof * fix(ci): promote clean VCR channel indexes * fix(release): harden VCR publication * fix(release): bind VCR publishing to verified inputs * fix(test): follow script declaration migration * fix(release): isolate VCR mirroring * test(release): align VCR secret ownership
…ease (#4) OpenClaw's release CI already publishes to VCR. openclaw/openclaw#120058 (merged 2026-08-10) added vercel-container-registry-publish.yml, which covers stable, extended-stable and beta across the default, slim and browser variants, and smoke-tests the immutable image in Vercel Sandbox before promoting moving aliases. openclaw/openclaw#123348 (merged 2026-08-14) rebuilds the moving tags weekly. Both supersede this repo's interim mirror and the handoff patch written for it, so remove docs/upstream-ci.md and .github/workflows/mirror-image.yml. The mirror was also never functional here: VERCEL_VCR_TOKEN was never configured, so every scheduled run since 2026-08-12 skipped and reported success. The VCR repository belongs to the OpenClaw Foundation, so only a Foundation member can mint that token, which makes upstream's own pipeline the correct owner rather than something to work around. Retarget the forward-looking suspend references from 2026.7.2 to 2026.8.1. 2026.7.2 never shipped stable; the beta line moved to 2026.8.1. Verified 2026-08-17 from npm: latest is 2026.7.1-2, beta is 2026.8.1-beta.2, and the gateway.suspend.* triad is present in 2026.8.1-beta.2. References to 2026.7.2-beta.7 as the version validated against are unchanged, since that is what was tested. Record what the public image actually serves, boot-verified 2026-08-17 from a non-owning Vercel team: latest and slim run 2026.7.1, 2026.7.2-beta.7 runs in plain, -slim and -amd64 forms, and the 2026.8.1 beta tags did not resolve from VCR although 2026.8.1-beta.2 was present on ghcr.
Summary
openclaw/openclawVCR repositoryvcr-release-publishconcurrency group, outsidedocker-release-publishimage_not_readyresponse for up to 10 minutes; other Sandbox failures fail immediatelyRegistry configuration
openclaw-foundation/openclaw(prj_QzcRpgirjDut2NoIFbsK8D8BTj9F)vcr.vercel.com/openclaw-foundation/openclaw/openclawVERCEL_PROJECT_ID,VERCEL_SCOPE, andVERCEL_VCR_IMAGE;VERCEL_TOKENremains an Actions secretRelease isolation
The primary release path remains:
.github/workflows/openclaw-release-publish.yml->.github/workflows/docker-release.yml-> GitHub release finalizationAfter Docker succeeds, VCR starts as an independent sibling through
.github/workflows/vercel-container-registry-publish.yml. Its job hascontinue-on-error: true, a 30-minute timeout, a visible warning/summary on failure, and no dependency edge intofinalize_github_release.Beta publishes and smokes immutable tags but has no moving aliases. Stable and extended-stable promote aliases only after the immutable Sandbox smoke passes.
Validation
79fd999172915afecfd2845728335ba6cd81c7c7pnpm check:changed, including formatting, dependency and patch guards, script/root-test typechecks, and script lintgit diff --check, Node syntax validation, and Actionlint for the new reusable VCR workflow passedorigin/main: clean, no accepted/actionable findingsVCR clean indexes intentionally omit upstream provenance descriptors because Vercel Sandbox does not prepare attestation-bearing indexes. GHCR source attestations remain mandatory in the Docker release path before VCR publication.