Release and CI
Full release validation
Full Release Validation is the release product-validation umbrella. Most work
happens in child workflows so a failed box can be rerun without restarting the
whole release.
Freeze the product-complete pre-changelog commit as the Code SHA, then run:
pnpm ci:full-release \ --sha <code-sha> \ --target-ref release/YYYY.M.PATCHprovider also accepts anthropic or minimax for cross-OS onboarding and the
end-to-end agent turn. The helper infers the beta profile from alpha/beta
package versions and stable otherwise. Pass alternate workflow inputs with
-f key=value; use -f release_profile=full only for the broad advisory sweep.
The helper creates a temporary release-ci/* ref pinned to one trusted
origin/main workflow SHA, passes the target SHA only as the candidate ref,
and deletes the temporary ref after validation. Every dispatched child must
report that same workflow SHA. Pass
-f reuse_evidence=false to force a fresh run or
--workflow-sha <trusted-main-sha> to select an older workflow commit still
reachable from current origin/main. The workflow never creates or updates
repository refs itself.
When the Code SHA is green, generate and commit only CHANGELOG.md. This new
commit is the Release SHA. Run the same helper for the Release SHA. Product
evidence is reused only when GitHub proves the Release SHA descends from the
Code SHA and the complete changed path set is exactly CHANGELOG.md; npm
preflight and package/install acceptance still run on the Release SHA.
release_profile=stable and release_profile=full always run the exhaustive
live/Docker soak. Pass run_release_soak=true to include the same soak lanes
with the beta profile. Stable publication rejects a validation manifest
without this soak and blocking product-performance evidence.
Package Acceptance normally builds the candidate tarball from the resolved
ref, including full-SHA runs dispatched with pnpm ci:full-release. After a
beta publish, pass release_package_spec=openclaw@YYYY.M.PATCH-beta.N to reuse
the shipped npm package across release checks, Package Acceptance, cross-OS,
release-path Docker, and package Telegram. Use package_acceptance_package_spec
only when Package Acceptance should intentionally prove a different package.
The Codex plugin live package lane follows the same state: published
release_package_spec values derive codex_plugin_spec=npm:@openclaw/codex@<version>;
SHA/artifact runs pack extensions/codex from the selected ref; and operators
can set codex_plugin_spec directly for npm:, npm-pack:, or git: plugin
sources. The lane grants the explicit Codex CLI install approval required by
that plugin, then runs Codex CLI preflight and same-session OpenAI agent turns.
Top-level stages
For rerun_group=all, a Check for reusable validation evidence job runs
first. It looks for the newest prior green full validation with the same release
profile, effective soak setting, and validation inputs. Exact-target reruns use
exact-target-full-validation-v1. A descendant whose complete delta is exactly
CHANGELOG.md uses changelog-only-release-v1; every product lane is skipped
and the verifier independently rechecks the GitHub commit comparison, immutable
parent artifact, child runs, and dispatch logs. Any other target change requires
a fresh Code SHA validation. Pass reuse_evidence=false to force a fresh full
run. Evidence reuse runs only from main or a canonical SHA-pinned
release-ci/* ref whose workflow commit remains on trusted main lineage;
other workflow refs run the selected lanes fresh.
Also for rerun_group=all, a Verify Docker runtime image assets job builds
the runtime-assets Docker target with
OPENCLAW_EXTENSIONS=diagnostics-otel,codex. It runs in parallel with the
other stages and is enforced by the umbrella verifier; lanes no longer wait for
it before dispatching. A narrower rerun_group skips this preflight.
| Stage | Details |
|---|---|
| Target resolution | Job: Resolve target ref |
| Child workflow: none | |
| Proves: resolves the release branch, tag, or full commit SHA and records selected inputs. | |
| Rerun: rerun the umbrella if this fails. | |
| Docker assets preflight | Job: Verify Docker runtime image assets |
| Child workflow: none | |
Proves: the runtime-assets Docker build target still succeeds before any other stage dispatches. Runs only for rerun_group=all. |
|
Rerun: rerun the umbrella with rerun_group=all. |
|
| Vitest and normal CI | Job: Run normal full CI |
Child workflow: CI |
|
Proves: manual full CI graph against the target ref, including Linux Node lanes, bundled plugin shards, plugin and channel contract shards, Node 22 compatibility, check-*, check-additional-*, built-artifact smoke checks, docs checks, Python skills, Windows, macOS, Control UI i18n, and Android via the umbrella. |
|
Rerun: rerun_group=ci. |
|
| Plugin prerelease | Job: Run plugin prerelease validation |
Child workflow: Plugin Prerelease |
|
Proves: release-only plugin static checks, agentic plugin coverage, full plugin batch shards, plugin prerelease Docker lanes, and a non-blocking plugin-inspector-advisory artifact for compatibility triage. |
|
Rerun: rerun_group=plugin-prerelease. |
|
| Release checks | Job: Run release/live/Docker/QA validation |
Child workflow: OpenClaw Release Checks |
|
Proves: install smoke, cross-OS package checks, Package Acceptance, QA Lab parity, live Matrix and Telegram, plus gated advisory Discord, WhatsApp, and Slack lanes. Stable and full profiles also run exhaustive live/E2E suites and Docker release-path chunks; beta can opt in with run_release_soak=true. |
|
Rerun: rerun_group=release-checks or a narrower release-checks handle. |
|
| Package Telegram | Job: Run package Telegram E2E |
Child workflow: NPM Telegram Beta E2E |
|
Proves: a focused published-package Telegram E2E when release_package_spec or npm_telegram_package_spec is set. Full candidate validation uses the canonical Package Acceptance Telegram E2E instead. |
|
Rerun: rerun_group=npm-telegram with release_package_spec or npm_telegram_package_spec. |
|
| Product performance | Job: Run product performance evidence |
Child workflow: OpenClaw Performance |
|
Proves: release-profile performance run (profile=release, repeat=3, fail_on_regression=true, publish_reports=false) against the target SHA. Kova output stays in workflow artifacts and the child must prove its report publisher was skipped. Required (blocking) only for rerun_group=all or rerun_group=performance; not required for narrower rerun groups. |
|
Rerun: rerun_group=performance. |
|
| Umbrella verifier | Job: Verify full validation |
| Child workflow: none | |
| Proves: re-checks recorded child run conclusions and appends slowest-job tables from child workflows. | |
| Rerun: rerun only this job after rerunning a failed child to green. |
The umbrella always dispatches product performance in artifact-only mode.
OpenClaw Performance permits report publication only for scheduled runs or a
manual dispatch that explicitly sets publish_reports=true. The artifact-only
guard must complete successfully, proving the publisher job stayed skipped.
Fresh and reused evidence records
controls.performanceReportPublication=artifact-only; the verifier and reuse
selector reject evidence without the matching normalized performance-child
proof.
The verifier uploads the canonical manifest as
full-release-validation-<run-id>-<run-attempt>. Evidence tooling validates
its artifact ID, digest, producer run, and attempt before downloading that exact
artifact ID. It caps the downloaded ZIP, verifies its bytes against the REST
sha256: digest, and streams the only allowed bounded manifest entry without
extracting the archive. A stable-name alias remains temporarily for older
publish consumers. The verifier always prefers the attempt-qualified artifact;
as a transition, it accepts the stable name only for an attempt-1 manifest v2
producer. It rejects that legacy name for later attempts and manifest v3.
For ref=main with rerun_group=all, for release/* refs, and for Tideclaw
alpha refs, a newer umbrella run supersedes an older one with the same ref and
rerun group. When the parent is cancelled, its monitor cancels any child
workflow it already dispatched. Tag and pinned-SHA validation runs do not
cancel each other.
Release checks stages
OpenClaw Release Checks is the largest child workflow. It resolves the target
once and prepares a shared release-package-under-test artifact when package
or Docker-facing stages need it.
| Stage | Details |
|---|---|
| Release target | Job: Resolve target ref |
| Backing workflow: none | |
| Tests: selected ref, optional expected SHA, profile, rerun group, and focused live suite filter. | |
Rerun: rerun_group=release-checks. |
|
| Package artifact | Job: Prepare release package artifact |
| Backing workflow: none | |
Tests: packs or resolves one candidate tarball and uploads release-package-under-test for downstream package-facing checks. |
|
| Rerun: the affected package, cross-OS, or live/E2E group. | |
| Install smoke | Job: Run install smoke |
Backing workflow: Install Smoke |
|
| Tests: full install path with root Dockerfile smoke image reuse, QR package install, root and gateway Docker smokes, installer Docker tests, and Bun global install image-provider smoke. | |
Rerun: rerun_group=install-smoke. |
|
| Cross-OS | Job: cross_os_release_checks |
Backing workflow: OpenClaw Cross-OS Release Checks (Reusable) |
|
| Tests: fresh and upgrade lanes on Linux, Windows, and macOS for the selected provider and mode, using the candidate tarball plus a baseline package. | |
Rerun: rerun_group=cross-os. |
|
| Repo and live E2E | Job: Run repo/live E2E validation |
Backing workflow: OpenClaw Live And E2E Checks (Reusable) |
|
Tests: repository E2E, live cache, OpenAI websocket streaming, native live provider and plugin shards, and Docker-backed live model/backend/gateway harnesses selected by release_profile. |
|
Runs: run_release_soak=true, release_profile=full, or focused rerun_group=live-e2e. |
|
Rerun: rerun_group=live-e2e, optionally with live_suite_filter. |
|
| Docker release path | Job: Run Docker release-path validation |
Backing workflow: OpenClaw Live And E2E Checks (Reusable) |
|
| Tests: release-path Docker chunks against the shared package artifact. | |
Runs: run_release_soak=true, release_profile=full, or focused rerun_group=live-e2e. |
|
Rerun: rerun_group=live-e2e. |
|
| Package Acceptance | Job: Run package acceptance |
Backing workflow: Package Acceptance |
|
Tests: offline plugin package fixtures, plugin update, the canonical mock-OpenAI Telegram package E2E, and published-upgrade survivor checks against the same tarball. Blocking release checks use the default latest published baseline; soak checks (run_release_soak=true) expand to the last 4 stable npm releases plus 3 pinned historical versions (2026.4.23, 2026.5.2, 2026.4.15), run against reported-issue upgrade fixtures. |
|
Rerun: rerun_group=package. |
|
| Maturity scorecard | Job: Render maturity scorecard release docs |
Backing workflow: maturity-scorecard.yml |
|
Tests: renders the advisory maturity scorecard docs against the target ref. Only runs when run_maturity_scorecard=true is passed. |
|
Rerun: rerun_group=qa with run_maturity_scorecard=true. |
|
| QA parity | Job: Run QA Lab parity lane and Run QA Lab parity report |
| Backing workflow: direct jobs | |
| Tests: candidate and baseline agentic parity packs, then the parity report. | |
Rerun: rerun_group=qa-parity or rerun_group=qa. |
|
| QA runtime parity | Job: Run QA Lab runtime parity lane |
| Backing workflow: direct job | |
Tests: an openclaw/codex runtime-pair agentic parity lane (pnpm openclaw qa suite --runtime-pair openclaw,codex), including a standard tier and, with run_release_soak=true, a soak tier. Advisory: individual failures do not block the release-check verifier. |
|
Rerun: rerun_group=qa-parity or rerun_group=qa. |
|
| QA runtime tool coverage | Job: Enforce QA Lab runtime tool coverage |
| Backing workflow: direct job | |
Tests: dynamic tool drift between openclaw and codex in the standard runtime-parity tier (pnpm openclaw qa coverage --tools), using the QA runtime parity lane's output. Blocking: this job is not advisory-overridable. |
|
Rerun: rerun_group=qa-parity or rerun_group=qa. |
|
| QA live Matrix | Job: Run QA Live Matrix profile |
Backing workflow: QA-Lab - All Lanes reusable workflow |
|
Tests: parity-proven YAML scenarios through the shared Matrix live adapter in the qa-live-shared environment. |
|
Rerun: rerun_group=qa-live or rerun_group=qa; use live_suite_filter=qa-live-matrix for a focused Matrix rerun. |
|
| QA live Telegram | Job: Run QA Lab live Telegram lane |
Backing workflow: trusted OpenClaw Release Telegram QA dispatch |
|
| Tests: live Telegram QA with Convex CI credential leases. | |
Rerun: rerun_group=qa-live or rerun_group=qa. |
|
| QA live Discord | Job: Run QA Lab live Discord lane |
| Backing workflow: direct advisory job | |
Tests: live Discord QA with Convex CI credential leases when OPENCLAW_RELEASE_QA_DISCORD_LIVE_CI_ENABLED is enabled. |
|
Rerun: rerun_group=qa-live with live_suite_filter=qa-live-discord. |
|
| QA live WhatsApp | Job: Run QA Lab live WhatsApp lane |
| Backing workflow: direct advisory job | |
Tests: live WhatsApp QA with Convex CI credential leases when OPENCLAW_RELEASE_QA_WHATSAPP_LIVE_CI_ENABLED is enabled. |
|
Rerun: rerun_group=qa-live with live_suite_filter=qa-live-whatsapp. |
|
| QA live Slack | Job: Run QA Lab live Slack lane |
| Backing workflow: direct advisory job | |
Tests: live Slack QA with Convex CI credential leases when OPENCLAW_RELEASE_QA_SLACK_LIVE_CI_ENABLED is enabled. |
|
Rerun: rerun_group=qa-live with live_suite_filter=qa-live-slack. |
|
| Release verifier | Job: Verify release checks |
| Backing workflow: none | |
| Tests: required release-check jobs for the selected rerun group. | |
| Rerun: rerun after focused child jobs pass. |
Docker release-path chunks
The Docker release-path stage runs these chunks when live_suite_filter is
empty:
| Chunk | Coverage |
|---|---|
core |
Core Docker release-path smoke lanes. |
package-update-openai |
OpenAI package install/update behavior, Codex on-demand install, Codex plugin live turns, and Chat Completions tool calls. |
package-update-anthropic |
Anthropic package install and update behavior. |
package-update-core |
Provider-neutral package and update behavior. |
plugins-runtime-plugins |
Plugin runtime lanes that exercise plugin behavior. |
plugins-runtime-services |
Service-backed and live plugin runtime lanes. |
plugins-runtime-install-a through plugins-runtime-install-h |
Plugin install/runtime batches split for parallel release validation. |
openwebui |
OpenWebUI compatibility smoke isolated on a dedicated large-disk runner when requested. |
Use targeted docker_lanes=<lane[,lane]> on the reusable live/E2E workflow when
only one Docker lane failed. The release artifacts include per-lane rerun
commands with package artifact and image reuse inputs when available.
Release profiles
release_profile mostly controls live/provider breadth inside release checks.
It does not remove normal full CI, Plugin Prerelease, install smoke, package
acceptance, or QA Lab. Stable and full profiles always run exhaustive repo/live
E2E and Docker release-path soak coverage. The beta profile can opt in with
run_release_soak=true. Package Acceptance supplies the canonical package
Telegram E2E for every full candidate, so the umbrella does not duplicate that
live poller.
| Profile | Intended use | Included live/provider coverage |
|---|---|---|
beta |
Fastest release-critical smoke. | OpenAI/core live path, Docker live models for OpenAI, native gateway core, native OpenAI gateway profile, native OpenAI plugin, and Docker live gateway OpenAI. |
stable |
Default release approval profile. | beta plus Anthropic smoke, Google, MiniMax, backend, native live test harness, Docker live CLI backend, Docker ACP bind, Docker Codex harness, Docker subagent-announce, and an OpenCode Go smoke shard. |
full |
Broad advisory sweep. | stable plus advisory providers, plugin live shards, and media live shards. |
Full-only additions
These suites are skipped by stable and included by full:
| Area | Full-only coverage |
|---|---|
| Docker live models | OpenCode Go, OpenRouter, xAI, Z.ai, and Fireworks. |
| Docker live gateway | Advisory providers split into DeepSeek/Fireworks, OpenCode Go/OpenRouter, and xAI/Z.ai shards. |
| Native gateway provider profiles | Full Anthropic Opus and Sonnet/Haiku shards, Fireworks, DeepSeek, full OpenCode Go model shards, OpenRouter, xAI, and Z.ai. |
| Native plugin live shards | Plugins A-K, L-N, O-Z other, Moonshot, and xAI. |
| Native media live shards | Audio, Google music, MiniMax music, and video groups A-D. |
stable includes native-live-src-gateway-profiles-anthropic-smoke and
native-live-src-gateway-profiles-opencode-go-smoke; full uses the broader
Anthropic and OpenCode Go model shards instead. Focused reruns can still use the
aggregate native-live-src-gateway-profiles-anthropic or
native-live-src-gateway-profiles-opencode-go handles.
Focused reruns
Use rerun_group to avoid repeating unrelated release boxes:
| Handle | Scope |
|---|---|
all |
All Full Release Validation stages. |
ci |
Manual full CI child only. |
plugin-prerelease |
Plugin Prerelease child only. |
release-checks |
All OpenClaw Release Checks stages. |
install-smoke |
Install Smoke through release checks. |
cross-os |
Cross-OS release checks. |
live-e2e |
Repo/live E2E and Docker release-path validation. |
package |
Package Acceptance. |
qa |
QA parity plus QA live lanes. |
qa-parity |
QA parity lanes and report only. |
qa-live |
QA live Matrix/Telegram plus gated Discord, WhatsApp, and Slack lanes when enabled. |
npm-telegram |
Published-package Telegram E2E; requires release_package_spec or npm_telegram_package_spec. |
performance |
Product performance evidence only. |
Use live_suite_filter with rerun_group=live-e2e when one live suite failed.
Valid filter ids are defined in the reusable live/E2E workflow, including
docker-live-models, live-gateway-docker,
live-gateway-anthropic-docker, live-gateway-google-docker,
live-gateway-minimax-docker, live-gateway-advisory-docker,
live-cli-backend-docker, live-acp-bind-docker, and
live-codex-harness-docker.
For a focused QA transport rerun, set rerun_group=qa-live and use the
canonical selector qa-live-matrix, qa-live-telegram, qa-live-discord,
qa-live-whatsapp, or qa-live-slack.
The live-gateway-advisory-docker handle is an aggregate rerun handle for its
three provider shards, so it still fans out to all advisory Docker gateway jobs.
Use cross_os_suite_filter with rerun_group=cross-os when one cross-OS lane
failed. The filter accepts an OS id, a suite id, or an OS/suite pair, for
example windows/packaged-upgrade, windows, or packaged-fresh. Cross-OS
summaries include per-phase timings for packaged upgrade lanes, and long-running
commands print heartbeat lines so a stuck update is visible before the job
timeout.
QA release-check failures block normal release validation only for selected
Matrix, Telegram, and QA runtime tool coverage lanes. QA parity, runtime
parity, and the gated Discord, WhatsApp, and Slack live lanes are advisory and
publish status artifacts without blocking the release verifier. Tideclaw
alpha runs may still treat non-package-safety release-check lanes as advisory. With
release_profile=beta, the Run repo/live E2E validation live-provider suites
are advisory: third-party model deployments change underneath a release, so
beta surfaces their failures as warnings while stable and full profiles keep
them blocking. When
live_suite_filter explicitly requests a gated QA live lane such as Discord,
WhatsApp, or Slack, the matching OPENCLAW_RELEASE_QA_*_LIVE_CI_ENABLED repo
variable must be enabled; otherwise input capture fails instead of silently skipping the lane.
Rerun rerun_group=qa, qa-parity, or qa-live when you
need fresh QA evidence.
Evidence to keep
Keep the Full Release Validation summary as the release-level index. It links
child run ids and includes slowest-job tables. For failures, inspect the child
workflow first, then rerun the smallest matching handle above.
Record both Code SHA and Release SHA, the reuse policy and changed-path set, the green Code SHA parent run, and the lightweight Release SHA parent run.
Useful artifacts:
release-package-under-testfromOpenClaw Release Checks- Docker release-path artifacts under
.artifacts/docker-tests/ - Package Acceptance
package-under-testand Docker acceptance artifacts - Cross-OS release-check artifacts for each OS and suite
- QA parity, runtime parity, and selected Matrix, Telegram, Discord, WhatsApp, or Slack artifacts
Workflow files
.github/workflows/full-release-validation.yml.github/workflows/openclaw-release-checks.yml.github/workflows/openclaw-live-and-e2e-checks-reusable.yml.github/workflows/plugin-prerelease.yml.github/workflows/install-smoke.yml.github/workflows/install-smoke-reusable.yml.github/workflows/openclaw-cross-os-release-checks-reusable.yml.github/workflows/package-acceptance.yml.github/workflows/openclaw-performance.yml.github/workflows/npm-telegram-beta-e2e.yml