Repository navigation
Conversation
Member
Author
|
superceded by #117252 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes an issue where operators could publish public Docker images merely by pushing a
v*tag, even when the release npm preflight later failed. On 2026-07-22 at 05:16 UTC,v2026.6.34triggeredDocker Releaseand published GHCR and Docker Hub; the NPM preflight dispatched two seconds later failed becauseCHANGELOG.mdhad no2026.6.34section, leaving Docker public without npm or a GitHub Release.Why This Change Was Made
Docker Releaseis now reusable-only and accepts a required immutable tag/SHA tuple. It verifies the tag resolves to that SHA and that the package/tag identity matches (including the established correction-tag form) before publishing.OpenClaw Release Publishis its sole caller: normal releases invoke Docker only after the exact-SHA preflight, Full Release Validation evidence, core npm publication, and postpublish readback have succeeded; the GitHub Release remains a draft until Docker succeeds. The extended-stable Docker-only path independently rechecks the preflight tarball digest plus npm exact-version and selector readback before the same reusable call.User Impact
Tag pushes no longer create partial public releases. Operators get one ordered, evidence-bound path for all Docker variants and channel promotion: default, slim, and browser images for amd64/arm64 on GHCR and Docker Hub. Existing attestation, channel-promotion,
npm-release, and Docker-environment approvals remain in force.Evidence
actionlint .github/workflows/docker-release.yml .github/workflows/openclaw-release-publish.ymlnode scripts/run-vitest.mjs test/scripts/release-no-push-workflow.test.ts test/scripts/docker-channel-promote.test.ts src/dockerfile.test.ts test/scripts/test-projects.test.tsOpenClaw Release Publishas the sole caller, publish-job evidence gates before Docker, and fail-closed tag/SHA/package checks.TMPDIR=/tmp .agents/skills/autoreview/scripts/autoreview --mode uncommittedAI-assisted; reviewed and validated locally.