Repository navigation
fix(release): publish extended-stable Docker channels safely - #112494
Conversation
|
Updated the Docker release fix at
Proof:
|
34bb10c to
0def167
Compare
|
Bug-focused review of
The public docs wording and incomplete maintenance-branch copy instruction were corrected in |
|
Fixed both release-safety findings in
Current-head proof: 31 focused assertions passed; targeted Oxlint/Oxfmt, Actionlint, Zizmor, docs links, workflow policy checks, and |
…w#112494) * fix(release): isolate extended-stable Docker aliases * fix(release): harden Docker channel promotion * docs(release): pin Docker policy into tagged tree * refactor(release): isolate Docker channel promotion * fix(release): queue Docker publications * fix(release): harden docker channel promotion * docs(release): tighten extended-stable guidance * fix(release): promote Docker aliases after verification * chore(release): format maintainer instructions * refactor(release): separate release version policy * docs(release): clarify extended-stable gateway scope * fix(release): harden Docker channel promotion
What Problem This Solves
OpenClaw had one Docker alias path for every final release. A trailing-month extended-stable release at patch
33+could therefore move the normal Dockerlatest/mainaliases. The release and repair paths also needed stronger protection against reordered releases, source-tag changes between verification and promotion, partial multi-platform images, and unsafe manual alias repair.This PR adds a distinct extended-stable Docker channel and makes channel promotion a verified operation performed only after version-specific images are published.
What This PR Changes
1. Creates one shared release-version policy
scripts/lib/release-version.mjs.33+as extended-stable; correction suffixes such as2026.6.33-1are rejected on that line.2. Defines the Docker channel mapping explicitly
33latest/main,slim/main-slim, andlatest-browser/main-browser.33+extended-stable,extended-stable-slim, andextended-stable-browser.The same mapping is applied to both
ghcr.io/openclaw/openclawanddocker.io/openclaw/openclaw.3. Separates Docker image publication from channel promotion
Docker Releasefirst publishes version-specific default, slim, browser, amd64, and arm64 tags to GHCR and Docker Hub.4. Adds one promotion owner
scripts/docker-channel-promote.mjsand its typed declaration.5. Prevents automatic rollback
--allow-rollbackonly for the separately approved repair workflow.6. Adds an approved alias-repair workflow
Docker Channel Promotionfor repairing aliases from an existing stable or extended-stable tag without rebuilding images.main, validates the tag, and checks out trusted promotion tooling.docker-releaseenvironment approval outside the queued writer so a pending human approval does not block a normal release.7. Serializes Docker publication and alias mutation
docker-release-publishconcurrency group.8. Keeps npm extended-stable boundaries aligned
33+may publish only to npmextended-stable.33continue using the existing beta/latest path.mainmust be on a later calendar month and a regular patch below33before the extended-stable core publish is accepted.9. Updates maintainer and public release guidance
openclawnpm package, all npm-publishable official plugins, and matching Gateway Docker images.main, including policy, promoter, workflows, and tests.10. Adds regression and workflow-structure coverage
User Impact
latest/mainrelease line.Evidence
ecc07ba7a36f38ee6910965c1634bc720ce5e24f.git diff --check.