Repository navigation
fix(release): validate candidates before Docker publication - #117252
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 3:55 AM ET / 07:55 UTC. ClawSweeper reviewWhat this changesThe PR removes Docker’s tag-push and manual-dispatch entry points, validates a tag/SHA pair, and calls Docker publication only from the ordered release-publish workflow. Merge readinessThis PR remains necessary: current Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s release pipeline turns a frozen source SHA into validated npm packages, GitHub release assets, and public Docker images. This change moves the Docker handoff behind the existing release-publish evidence gates so a tag alone cannot expose an unvalidated image. flowchart LR
A[Release candidate SHA] --> B[Preflight and full validation]
B --> C[Publish npm and verify registry]
C --> D[Release publish workflow]
D --> E[Reusable Docker release]
E --> F[Public Docker images]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +96, Docs +24, Config +125, Other +47. Total +292 across 10 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Land one evidence-bound Docker publication path only after the branch is refreshed against current Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current Is this the best way to solve the issue? Yes: routing Docker through the existing release-publish owner is the narrowest maintainable repair, and the retained npm-resume input provides the normal post-npm recovery route without restoring an independent Docker dispatcher. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 07b7d6446ca1. LabelsLabel justifications:
EvidenceWhat 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
History |
* origin/main: (41 commits) test(ci): update memory helper routing expectation (#117295) fix(canvas): emit successful control results in JSON mode (#117297) fix(imessage): settle native inbound reply delivery (#117282) fix(agents): reject invalid UTF-8 LSP responses (#117271) fix(line): centralize card and template message alt text (#117280) fix(release): validate candidates before Docker publication (#117252) fix(media): validate provider-owned generated media downloads (#117281) fix(feishu): restore custom HTTPS API domains (#117278) fix(models): reuse prepared plugin metadata (#117131) fix(agents): stop fallback after delivered-but-failed attempts (#114628) fix(memory): reuse targeted session corpus snapshot (#117247) fix(matrix): reconcile durable sends after response loss test(release): repair full validation regressions (#116931) fix(linux-canvas): report socket watcher fallback (#109502) fix(codex): preserve authoritative turn completion (#117185) fix(canvas): preserve widgets across derived-name collisions (#117132) fix(channels): config validation rejects documented channels.<id>.configWrites on 13 channels (#117206) fix(msteams): prevent duplicate final replies (#116398) fix(doctor): session SQLite restore installs an empty session index over the valid archive (#117221) fix(plugins): preserve workspace plugins across CLI and control UI (#117265) ...
…#117252) * fix(release): validate candidates before Docker publication * fix(release): complete Docker publication gates * fix(release): serialize Docker publication
* origin/main: (41 commits) test(ci): update memory helper routing expectation (openclaw#117295) fix(canvas): emit successful control results in JSON mode (openclaw#117297) fix(imessage): settle native inbound reply delivery (openclaw#117282) fix(agents): reject invalid UTF-8 LSP responses (openclaw#117271) fix(line): centralize card and template message alt text (openclaw#117280) fix(release): validate candidates before Docker publication (openclaw#117252) fix(media): validate provider-owned generated media downloads (openclaw#117281) fix(feishu): restore custom HTTPS API domains (openclaw#117278) fix(models): reuse prepared plugin metadata (openclaw#117131) fix(agents): stop fallback after delivered-but-failed attempts (openclaw#114628) fix(memory): reuse targeted session corpus snapshot (openclaw#117247) fix(matrix): reconcile durable sends after response loss test(release): repair full validation regressions (openclaw#116931) fix(linux-canvas): report socket watcher fallback (openclaw#109502) fix(codex): preserve authoritative turn completion (openclaw#117185) fix(canvas): preserve widgets across derived-name collisions (openclaw#117132) fix(channels): config validation rejects documented channels.<id>.configWrites on 13 channels (openclaw#117206) fix(msteams): prevent duplicate final replies (openclaw#116398) fix(doctor): session SQLite restore installs an empty session index over the valid archive (openclaw#117221) fix(plugins): preserve workspace plugins across CLI and control UI (openclaw#117265) ...
What Problem This Solves
Fixes an issue where creating a final release tag could immediately publish public Docker images before the frozen release SHA had passed NPM preflight and Full Release Validation. The release-candidate helper also required that final tag before it could start those gates.
Why This Change Was Made
Release candidates now use a frozen SHA while the tag remains planned and absent. Docker publication is removed from tag-push automation and can run only as a reusable child of OpenClaw Release Publish after the relevant release evidence and registry readback are verified.
User Impact
Operators can validate and repair a candidate without consuming patch tags or exposing unvalidated Docker artifacts. A final tag now records an immutable release identity; it does not publish an image on its own.
Evidence
node scripts/run-vitest.mjs test/scripts/release-candidate-checklist.test.ts test/scripts/release-no-push-workflow.test.ts test/scripts/docker-channel-promote.test.ts src/dockerfile.test.ts— 126 passed../node_modules/.bin/oxfmt --checkon all touched files — passed.git diff --check— passed.autoreview --mode uncommitted— no accepted/actionable findings.acf10653162.AI-assisted; reviewed and validated locally.