Skip to content

ci: mirror Docker release images to Vercel registry - #120058

Merged
Patrick-Erichsen merged 12 commits into
mainfrom
pe/vercel-container-registry
Aug 10, 2026
Merged

Patrick-Erichsen merged 12 commits into
mainfrom
pe/vercel-container-registry

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • mirror the exact Docker release image set to Vercel Container Registry for stable, extended-stable, and beta releases
  • publish default, slim, and browser variants for amd64, arm64, and multi-platform indexes, matching Docker availability for the tagged release
  • publish to the standalone private openclaw/openclaw VCR repository
  • keep VCR best-effort and independent: Docker publication and GitHub release finalization do not wait on or fail with the VCR mirror
  • serialize VCR alias changes under their own vcr-release-publish concurrency group, outside docker-release-publish
  • copy and verify immutable tags, prove the exact immutable default image in Vercel Sandbox, then promote stable or extended-stable moving aliases
  • retry only Vercel's documented transient image_not_ready response for up to 10 minutes; other Sandbox failures fail immediately
  • preserve immutable digest handoff, source attestation checks, VCR clean indexes, rollback prevention, trusted token isolation, and the locked Vercel CLI dependency closure

Registry configuration

  • Vercel project: openclaw-foundation/openclaw (prj_QzcRpgirjDut2NoIFbsK8D8BTj9F)
  • image: vcr.vercel.com/openclaw-foundation/openclaw/openclaw
  • GitHub variables: VERCEL_PROJECT_ID, VERCEL_SCOPE, and VERCEL_VCR_IMAGE; VERCEL_TOKEN remains an Actions secret
  • the project has no deployments or production domains; it exists only to own the private VCR repository and Sandbox scope

Release isolation

The primary release path remains:

.github/workflows/openclaw-release-publish.yml -> .github/workflows/docker-release.yml -> GitHub release finalization

After Docker succeeds, VCR starts as an independent sibling through .github/workflows/vercel-container-registry-publish.yml. Its job has continue-on-error: true, a 30-minute timeout, a visible warning/summary on failure, and no dependency edge into finalize_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

  • exact head 79fd999172915afecfd2845728335ba6cd81c7c7
  • Blacksmith Testbox run 31423292188: focused release workflow/publisher tests passed, 44/44
  • the implementation tree passed pnpm check:changed, including formatting, dependency and patch guards, script/root-test typechecks, and script lint
  • local git diff --check, Node syntax validation, and Actionlint for the new reusable VCR workflow passed
  • Autoreview against origin/main: clean, no accepted/actionable findings
  • prior PoC live VCR readback: 36 expected tags with no missing or unexpected tags; beta, stable, and extended-stable immutable Sandbox smokes passed under deny-all networking

VCR 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.

@Patrick-Erichsen
Patrick-Erichsen force-pushed the pe/vercel-container-registry branch from e489601 to 0d45d9c Compare August 6, 2026 23:16
@Patrick-Erichsen Patrick-Erichsen changed the title ci: publish stable Docker images to Vercel registry ci: mirror Docker release images to Vercel registry Aug 6, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L maintainer Maintainer-authored PR labels Aug 6, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Aug 7, 2026
@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 10, 2026, 4:09 PM ET / 20:09 UTC.

ClawSweeper review

What this changes

Adds a best-effort Vercel Container Registry mirror for attested Docker release images, with immutable-copy verification, Sandbox smoke checks, and channel-alias promotion.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep 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
Reviewed head: 79fd999172915afecfd2845728335ba6cd81c7c7
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The implementation and reported real behavior proof are strong, with merge readiness gated on the required dependency security authorization.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The PR body reports a live 36-tag VCR readback and Sandbox smokes for all release channels; focused tests cover the exact workflow topology and safety checks.
Patch quality 🐚 platinum hermit (4/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body reports a live 36-tag VCR readback and Sandbox smokes for all release channels; focused tests cover the exact workflow topology and safety checks.
Evidence reviewed 7 items Current main lacks this capability: Current release publishing invokes Docker publication and GitHub-release finalization, while the user-facing Docker documentation names GHCR and Docker Hub as the official registries; no VCR workflow or publisher exists on main.
Verified immutable handoff: The branch resolves release tags to immutable GHCR digests and verifies those exact digest references before exposing them as VCR inputs.
Non-blocking release topology: The VCR job runs after Docker publication, while GitHub release finalization still depends only on publish and Docker jobs.
Findings None None.
Security Needs attention Authorize the Vercel CLI dependency closure: This manifest introduces [email protected] for a workflow that later receives VERCEL_TOKEN; the repository dependency guard requires an exact-head SecOps/admin approval before it can run.

How this fits together

The 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]
Loading

Decision needed

Question Recommendation
Should OpenClaw authorize this exact locked Vercel CLI graph to execute in the release workflow with VERCEL_TOKEN, and adopt the private VCR mirror as a maintained release output? Authorize the exact release closure: Have SecOps or an admin review [email protected] and its lockfile for head 79fd999, then authorize and rerun the guard.

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

  • Resolve security concern: Authorize the Vercel CLI dependency closure - This manifest introduces [email protected] for a workflow that later receives VERCEL_TOKEN; the repository dependency guard requires an exact-head SecOps/admin approval before it can run.
  • Resolve merge risk (P1) - The PR introduces a 352-package executable closure into a token-bearing release job; the repository guard is blocked until SecOps or an admin authorizes exact head 79fd999.
  • Resolve merge risk (P1) - The Vercel CLI source and current command contract could not be independently retrieved because GitHub DNS was unavailable, so a security reviewer should inspect the pinned closure and supported VCR/Sandbox invocation before approval.

Findings

  • [medium] Authorize the Vercel CLI dependency closure — .github/release/vercel-cli/package.json:5
Agent review details

Security

Needs attention: The token exposure sequence is deliberately constrained, but the new privileged Vercel CLI dependency closure requires exact-head SecOps/admin authorization.

PR surface

Tests +548, Config +4661, Other +633. Total +5842 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 548 0 +548
Docs 0 0 0 0
Config 5 4661 0 +4661
Generated 0 0 0 0
Other 4 633 0 +633
Total 11 5842 0 +5842

Review metrics

Metric Value Why it matters
Production versus test delta production/tooling +896, tests +548, test support +54, locked dependency graph +4,344 The new release capability is substantial and its executable dependency closure is the main pre-merge security review surface.

Merge-risk options

Maintainer options:

  1. Authorize the pinned CLI on this head (recommended)
    SecOps or an admin should inspect and authorize the exact Vercel CLI closure, then rerun the dependency guard before merge.
  2. Move the release change under owner control
    If the dependency closure is not acceptable in this PR, pause it and have release owners implement any approved VCR approach internally.

Technical review

Best 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.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body reports a live 36-tag VCR readback and Sandbox smokes for all release channels; focused tests cover the exact workflow topology and safety checks.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body reports a live 36-tag VCR readback and Sandbox smokes for all release channels; focused tests cover the exact workflow topology and safety checks.
  • remove merge-risk: 🚨 availability: Current PR review merge-risk labels are merge-risk: 🚨 automation, merge-risk: 🚨 security-boundary.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P1: This changes release publication behavior and needs timely owner review before a production release uses it.
  • merge-risk: 🚨 automation: The PR adds a reusable release workflow and alters Docker-release outputs and job dependencies.
  • merge-risk: 🚨 security-boundary: A new locked executable dependency closure is materialized before a Vercel token is used in release automation.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body reports a live 36-tag VCR readback and Sandbox smokes for all release channels; focused tests cover the exact workflow topology and safety checks.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body reports a live 36-tag VCR readback and Sandbox smokes for all release channels; focused tests cover the exact workflow topology and safety checks.

Evidence

Security concerns:

  • [medium] Authorize the Vercel CLI dependency closure — .github/release/vercel-cli/package.json:5
    This manifest introduces [email protected] for a workflow that later receives VERCEL_TOKEN; the repository dependency guard requires an exact-head SecOps/admin approval before it can run.
    Confidence: 0.98

What I checked:

Likely related people:

  • steipete: CODEOWNERS assigns the .github ownership rule to this account, making it the clearest release-workflow decision route. (role: code owner; confidence: high; files: .github/CODEOWNERS, .github/workflows/openclaw-release-publish.yml)
  • vincentkoc: Introduced Docker Hub release mirroring in the release workflow, the closest existing registry-mirror design. (role: introduced adjacent release behavior; confidence: high; commits: b70d1aae57bc; files: .github/workflows/docker-release.yml, .github/workflows/openclaw-release-publish.yml)
  • romneyda: Authored recent release-channel and candidate-validation hardening that shares the alias-promotion invariant. (role: release-channel safety contributor; confidence: high; commits: 74cc99f2d117, 6baf4dd15f5d; files: .github/workflows/docker-release.yml, scripts/lib/docker-release-policy.mjs)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Obtain SecOps/admin authorization for the exact locked dependency graph and rerun the dependency guard.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (7 earlier review cycles)
  • reviewed 2026-08-07T01:33:15.636Z sha 25b2b05 :: found issues before merge. :: [P1] Avoid the attestation-required alias helper for VCR | [P1] Keep production VCR credentials off branch workflow code | [P2] Serialize manual VCR publication with release publishing
  • reviewed 2026-08-07T02:33:51.220Z sha bc14b4e :: found issues before merge. :: [P1] Derive browser copies from the tagged release | [P1] Keep the omitted-attestation path VCR-local | [P1] Keep production VCR credentials off branch code | [P2] Serialize manual VCR publication with release publishing
  • reviewed 2026-08-07T02:47:16.655Z sha bc14b4e :: found issues before merge. :: [P1] Derive Vercel variants from the tagged release | [P1] Keep source attestation verification mandatory | [P1] Do not run Vercel publishing from branch code | [P2] Serialize manual Vercel publication
  • reviewed 2026-08-07T04:48:31.453Z sha a4ffc73 :: found issues before merge. :: [P1] Bind VCR copies to verified source digests | [P1] Lock the Vercel CLI before passing its token
  • reviewed 2026-08-07T05:50:40.076Z sha a4ffc73 :: found issues before merge. :: [P1] Bind VCR copies to attestation-verified source digests | [P1] Lock the Vercel CLI before exposing the token
  • reviewed 2026-08-09T21:56:04.976Z sha 67a150f13fec3dcdc32f1e5074b3a7b8fdd4bc22 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-09T23:02:03.729Z sha 0b53c0d :: needs maintainer review before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot added the docker Docker and sandbox tooling label Aug 7, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. label Aug 7, 2026
@Patrick-Erichsen Patrick-Erichsen self-assigned this Aug 7, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XL and removed docker Docker and sandbox tooling size: L labels Aug 7, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Fixed all four release-safety blockers on a4ffc73d6fb81e8816d903040dc9f49b55ccaaea: tagged-release browser variants, VCR-local clean-index alias promotion with the generic attestation requirement restored, trusted release-only Vercel credentials, and shared release serialization. Added digest/version/rollback verification and no-browser coverage; 42 focused tests and the scoped validation gates pass.

@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@Patrick-Erichsen
Patrick-Erichsen force-pushed the pe/vercel-container-registry branch from c9c63da to 79fd999 Compare August 10, 2026 19:36
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@openclaw/openclaw-secops @steipete Exact-head dependency authorization is needed for 79fd999172915afecfd2845728335ba6cd81c7c7.

This is the same reviewed VCR patch rebased onto current main, including the separately landed lint and gateway test repairs. The intentional graph change remains the integrity-pinned [email protected] CLI closure. VCR is best-effort and independent of Docker/GitHub release finalization; VERCEL_TOKEN is confined to the contents-read reusable publisher after locked materialization. Please comment /allow-dependencies-change if approved.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Please refresh the durable review for exact head 79fd999172915afecfd2845728335ba6cd81c7c7. This is the patch-identical VCR implementation rebased onto current main; the non-blocking topology and final secret-ownership test correction are unchanged. Blacksmith Testbox run 31423292188 passed 44/44 focused release tests; Autoreview is clean.

@clawsweeper

clawsweeper Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@vincentkoc Could you review the intentional dependency closure and, if acceptable, authorize exact head 79fd999172915afecfd2845728335ba6cd81c7c7 with /allow-dependencies-change? It is the same pinned [email protected] VCR patch rebased onto current main; exact-head CI is running now.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

@joshavant Final merge blocker on #120058: could you review the intentional integrity-pinned [email protected] dependency closure and, if acceptable, comment /allow-dependencies-change for exact head 79fd999172915afecfd2845728335ba6cd81c7c7? Exact-head CI and the native prepare gates are green.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 10, 2026
@joshavant

Copy link
Copy Markdown
Collaborator

/allow-dependencies-change

@Patrick-Erichsen
Patrick-Erichsen merged commit 105038e into main Aug 10, 2026
257 of 260 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the pe/vercel-container-registry branch August 10, 2026 21:45
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 11, 2026
* 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
erulkey added a commit to vercel-labs/vercel-openclaw that referenced this pull request Aug 17, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants