Skip to content

Commit 0ca19dc

Browse files
committed
merge: refresh settings form against main
* origin/main: (99 commits) docs(automation): rename scheduled-tasks feature wording to Automations (#114855) feat(ui): finish cron -> Automations rename in visible strings (#114853) feat(cli): add openclaw automations alias and reword cron display prose (#114854) feat(agents): rename scheduler agent tool cron -> automations (#114841) fix(tui): preserve session state across switches and reconnects (#116399) feat(agents): report CLI command outcomes in channel progress fix(cli): preserve explicit option intent (#116389) fix(release): trust update restart harness (#116301) test(reef): remove false-green live guard smoke (#116393) test(comfy): evaluate live guards after setup (#116388) fix(heartbeat): serialize wake lifecycle state (#116351) test: remove redundant extension boundary wrapper (#116385) fix(test): bound Testbox agentic and extension suites (#115696) fix(ui): show the correct Threads page size (#116349) test(discord): align progress timing expectations (#116377) feat(ui): add composable skill references (#116330) fix(qa): prevent Slack cleanup from stalling profile runs (#116361) fix(ci): validate frozen release candidates faithfully (#116357) improve(ci): fail_fast option for release validation, off by default (#116352) fix(agents): compare shell tool names case-insensitively and stop re-parsing tool labels ...
2 parents e0b76b7 + 944cf08 commit 0ca19dc

706 files changed

Lines changed: 29253 additions & 6638 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/release-openclaw-ci/SKILL.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ Use this with `$release-openclaw-maintainer` and `$openclaw-testing` when a rele
3030
entitlement. Mandatory live providers must pass a real completion probe
3131
before release dispatch. Fix the credential first; do not add an alternate
3232
auth path merely to bypass a failed release credential.
33-
- Full Release Validation parent monitors fail fast: once a required child job
34-
fails, the parent cancels the remaining child matrix and prints the failed
35-
job summary. Inspect that first red job instead of waiting for unrelated
36-
matrix tails.
33+
- Full Release Validation collects independent child failures to terminal
34+
completion by default. Pass `fail_fast=true` only when the shorter
35+
first-failure cancellation path is preferable.
3736
- For regular beta/stable releases, treat the product-complete pre-changelog
3837
commit as the Code SHA. Full product validation and performance evidence bind
3938
to that SHA. The later Release SHA may reuse those results only when it is a

‎.github/workflows/ci.yml‎

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,11 +2060,24 @@ jobs:
20602060
echo "detected cores=$cores plan_concurrency=${SHARD_PLAN_CONCURRENCY:-default} -> workers=$workers"
20612061
echo "OPENCLAW_VITEST_MAX_WORKERS=$workers" >> "$GITHUB_ENV"
20622062
2063+
- name: Checkout trusted Node shard runner
2064+
# Frozen release targets can predate the workflow-owned shard runner.
2065+
# Keep its implementation pinned to this workflow revision, while tests
2066+
# continue to run against the checked-out candidate.
2067+
if: ${{ hashFiles('scripts/ci-run-node-test-shard.mjs') == '' }}
2068+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2069+
with:
2070+
ref: ${{ github.workflow_sha }}
2071+
path: .ci-workflow
2072+
sparse-checkout: |
2073+
scripts/ci-run-node-test-shard.mjs
2074+
scripts/lib/direct-run.mjs
2075+
scripts/lib/local-heavy-check-runtime.mjs
2076+
sparse-checkout-cone-mode: false
2077+
persist-credentials: false
2078+
20632079
- name: Run Node test shard
2064-
# actionlint 1.7.11 lacks GitHub's current job.workflow_* fields. Serialize the
2065-
# non-secret job context, then validate the defining workflow identity below.
20662080
env:
2067-
JOB_CONTEXT_JSON: ${{ toJSON(job) }}
20682081
NODE_OPTIONS: --max-old-space-size=8192
20692082
OPENCLAW_NODE_TEST_GROUPS_JSON: ${{ toJson(matrix.groups || null) }}
20702083
OPENCLAW_NODE_TEST_CONFIGS_JSON: ${{ toJson(matrix.configs) }}
@@ -2084,30 +2097,8 @@ jobs:
20842097
set -euo pipefail
20852098
runner="scripts/ci-run-node-test-shard.mjs"
20862099
if [[ ! -f "$runner" ]]; then
2087-
# Frozen release targets can predate the workflow-owned shard runner.
2088-
# Load only that runner from the exact trusted workflow commit while
2089-
# keeping its child tests rooted in the checked-out candidate.
2090-
job_workflow_repository=$(jq -r '.workflow_repository // empty' <<<"$JOB_CONTEXT_JSON")
2091-
job_workflow_sha=$(jq -r '.workflow_sha // empty' <<<"$JOB_CONTEXT_JSON")
2092-
if [[ ! "$job_workflow_repository" =~ ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ ]]; then
2093-
echo "invalid job workflow repository: $job_workflow_repository" >&2
2094-
exit 1
2095-
fi
2096-
if [[ ! "$job_workflow_sha" =~ ^[0-9a-f]{40}$ ]]; then
2097-
echo "invalid job workflow SHA: $job_workflow_sha" >&2
2098-
exit 1
2099-
fi
2100-
harness_root="${RUNNER_TEMP}/openclaw-ci-shard-runner"
2101-
workflow_remote="https://github.com/${job_workflow_repository}.git"
2102-
timeout --signal=TERM --kill-after=10s 120s git fetch --no-tags --depth=1 "$workflow_remote" "$job_workflow_sha"
2103-
for file in \
2104-
scripts/ci-run-node-test-shard.mjs \
2105-
scripts/lib/direct-run.mjs \
2106-
scripts/lib/local-heavy-check-runtime.mjs; do
2107-
mkdir -p "${harness_root}/$(dirname "$file")"
2108-
git show "${job_workflow_sha}:${file}" > "${harness_root}/${file}"
2109-
done
2110-
runner="${harness_root}/${runner}"
2100+
runner=".ci-workflow/${runner}"
2101+
[[ -f "$runner" ]]
21112102
fi
21122103
node "$runner"
21132104
@@ -3295,6 +3286,19 @@ jobs:
32953286
- name: Build iOS app
32963287
run: pnpm ios:build
32973288

3289+
# Debug's incremental compilation can miss actor-isolation diagnostics
3290+
# that Swift's optimized whole-module Release build enforces.
3291+
- name: Build iOS app (Release)
3292+
if: env.HISTORICAL_TARGET != 'true'
3293+
run: |
3294+
xcodebuild \
3295+
-project apps/ios/OpenClaw.xcodeproj \
3296+
-scheme OpenClaw \
3297+
-configuration Release \
3298+
-destination "generic/platform=iOS" \
3299+
CODE_SIGNING_ALLOWED=NO \
3300+
build
3301+
32983302
# App compilation and screenshots do not execute approval or notification
32993303
# lifecycles. Exercise both owners on the already provisioned simulator.
33003304
- name: Run focused iOS lifecycle simulator tests

‎.github/workflows/full-release-validation.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ on:
5050
required: false
5151
default: false
5252
type: boolean
53+
fail_fast:
54+
description: Cancel each child workflow after its first failed job; false collects independent failures to completion
55+
required: false
56+
default: false
57+
type: boolean
5358
rerun_group:
5459
description: Validation group to run
5560
required: false
@@ -182,6 +187,7 @@ jobs:
182187
CODEX_PLUGIN_SPEC: ${{ inputs.codex_plugin_spec }}
183188
RELEASE_PROFILE: ${{ inputs.release_profile }}
184189
RUN_RELEASE_SOAK: ${{ inputs.run_release_soak || inputs.release_profile == 'stable' || inputs.release_profile == 'full' }}
190+
FAIL_FAST: ${{ inputs.fail_fast }}
185191
ALLOW_UNRELEASED_CHANGELOG: ${{ inputs.allow_unreleased_changelog || (inputs.target_context_ref == '' && (inputs.ref == 'main' || inputs.ref == 'refs/heads/main')) }}
186192
RERUN_GROUP: ${{ inputs.rerun_group }}
187193
LIVE_SUITE_FILTER: ${{ inputs.live_suite_filter }}
@@ -194,6 +200,7 @@ jobs:
194200
echo "- Target SHA: \`${TARGET_SHA}\`"
195201
echo "- Child workflow ref: \`${CHILD_WORKFLOW_REF}\`"
196202
echo "- Release soak lanes: \`${RUN_RELEASE_SOAK}\`"
203+
echo "- Fail fast: \`${FAIL_FAST}\`"
197204
echo "- Allow Unreleased changelog packaging: \`${ALLOW_UNRELEASED_CHANGELOG}\`"
198205
echo "- Rerun group: \`${RERUN_GROUP}\`"
199206
if [[ -n "${LIVE_SUITE_FILTER// }" ]]; then
@@ -424,6 +431,7 @@ jobs:
424431
TARGET_SHA: ${{ needs.resolve_target.outputs.sha }}
425432
CHILD_WORKFLOW_REF: ${{ github.ref_name }}
426433
PARENT_WORKFLOW_SHA: ${{ github.sha }}
434+
FAIL_FAST: ${{ inputs.fail_fast }}
427435
run: |
428436
set -euo pipefail
429437
@@ -517,6 +525,9 @@ jobs:
517525
}
518526
519527
fail_fast_failed_jobs() {
528+
if [[ "$FAIL_FAST" != "true" ]]; then
529+
return 0
530+
fi
520531
local failed_jobs_json
521532
if ! failed_jobs_json="$(
522533
fetch_child_jobs |
@@ -618,6 +629,7 @@ jobs:
618629
CHILD_WORKFLOW_REF: ${{ github.ref_name }}
619630
PARENT_WORKFLOW_SHA: ${{ github.sha }}
620631
CANDIDATE_ARTIFACT_JSON: ${{ needs.prepare_release_candidate.outputs.candidate_artifact_json }}
632+
FAIL_FAST: ${{ inputs.fail_fast }}
621633
run: |
622634
set -euo pipefail
623635
@@ -711,6 +723,9 @@ jobs:
711723
}
712724
713725
fail_fast_failed_jobs() {
726+
if [[ "$FAIL_FAST" != "true" ]]; then
727+
return 0
728+
fi
714729
local failed_jobs_json
715730
if ! failed_jobs_json="$(
716731
fetch_child_jobs |
@@ -812,6 +827,7 @@ jobs:
812827
MODE: ${{ inputs.mode }}
813828
RELEASE_PROFILE: ${{ inputs.release_profile }}
814829
RUN_RELEASE_SOAK: ${{ inputs.run_release_soak || inputs.release_profile == 'stable' || inputs.release_profile == 'full' }}
830+
FAIL_FAST: ${{ inputs.fail_fast }}
815831
ALLOW_UNRELEASED_CHANGELOG: ${{ inputs.allow_unreleased_changelog || (inputs.target_context_ref == '' && (inputs.ref == 'main' || inputs.ref == 'refs/heads/main')) }}
816832
RERUN_GROUP: ${{ inputs.rerun_group }}
817833
LIVE_SUITE_FILTER: ${{ inputs.live_suite_filter }}
@@ -956,6 +972,9 @@ jobs:
956972
}
957973
958974
fail_fast_failed_jobs() {
975+
if [[ "$FAIL_FAST" != "true" ]]; then
976+
return 0
977+
fi
959978
local failed_jobs_json
960979
if [[ "$workflow" == "openclaw-release-checks.yml" && "$CHILD_WORKFLOW_REF" =~ ^tideclaw/alpha/[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{4}Z$ ]]; then
961980
return 0
@@ -1106,6 +1125,7 @@ jobs:
11061125
-f mode="$MODE"
11071126
-f release_profile="$RELEASE_PROFILE"
11081127
-f run_release_soak="$RUN_RELEASE_SOAK"
1128+
-f fail_fast="$FAIL_FAST"
11091129
-f allow_unreleased_changelog="$ALLOW_UNRELEASED_CHANGELOG"
11101130
-f rerun_group="$child_rerun_group"
11111131
)
@@ -1158,6 +1178,7 @@ jobs:
11581178
PACKAGE_SPEC: ${{ inputs.npm_telegram_package_spec || inputs.release_package_spec }}
11591179
PROVIDER_MODE: ${{ inputs.npm_telegram_provider_mode }}
11601180
SCENARIO: ${{ inputs.npm_telegram_scenario }}
1181+
FAIL_FAST: ${{ inputs.fail_fast }}
11611182
run: |
11621183
set -euo pipefail
11631184
@@ -1264,6 +1285,9 @@ jobs:
12641285
fi
12651286
12661287
fail_fast_failed_jobs() {
1288+
if [[ "$FAIL_FAST" != "true" ]]; then
1289+
return 0
1290+
fi
12671291
local failed_jobs_json
12681292
failed_jobs_json="$(
12691293
gh_with_retry run view "$run_id" --json jobs \

‎.github/workflows/openclaw-npm-release.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,17 @@ jobs:
185185
id: preflight_cache_key
186186
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
187187

188+
# setup-node-env may restore a broader build-all snapshot. Clear every
189+
# preflight cache output first so actions/cache cannot overlay stale or
190+
# private-QA artifacts that are absent from this release build.
191+
- name: Clean preflight build outputs before cache restore
192+
run: |
193+
set -euo pipefail
194+
rm -rf -- dist dist-runtime packages/*/dist
195+
find extensions -type f -path '*/src/host/*' \
196+
\( -name '.bundle.hash' -o -name '*.bundle.js' \) \
197+
-delete
198+
188199
- name: Restore preflight build outputs
189200
id: dist_build_cache
190201
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5

‎.github/workflows/openclaw-release-checks.yml‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ on:
4646
required: false
4747
default: false
4848
type: boolean
49+
fail_fast:
50+
description: Stop the Matrix QA lane after its first failed check or scenario
51+
required: false
52+
default: false
53+
type: boolean
4954
run_maturity_scorecard:
5055
description: Render advisory maturity scorecard release docs; default release checks rely on dedicated package, QA, live, and E2E gates
5156
required: false
@@ -133,6 +138,7 @@ jobs:
133138
mode: ${{ steps.inputs.outputs.mode }}
134139
release_profile: ${{ steps.inputs.outputs.release_profile }}
135140
run_release_soak: ${{ steps.inputs.outputs.run_release_soak }}
141+
fail_fast: ${{ steps.inputs.outputs.fail_fast }}
136142
run_maturity_scorecard: ${{ steps.inputs.outputs.run_maturity_scorecard }}
137143
allow_unreleased_changelog: ${{ steps.inputs.outputs.allow_unreleased_changelog }}
138144
rerun_group: ${{ steps.inputs.outputs.rerun_group }}
@@ -312,6 +318,7 @@ jobs:
312318
RELEASE_MODE_INPUT: ${{ inputs.mode }}
313319
RELEASE_PROFILE_INPUT: ${{ inputs.release_profile }}
314320
RELEASE_RUN_RELEASE_SOAK_INPUT: ${{ inputs.run_release_soak }}
321+
RELEASE_FAIL_FAST_INPUT: ${{ inputs.fail_fast }}
315322
RELEASE_RUN_MATURITY_SCORECARD_INPUT: ${{ inputs.run_maturity_scorecard }}
316323
RELEASE_ALLOW_UNRELEASED_CHANGELOG_INPUT: ${{ inputs.allow_unreleased_changelog }}
317324
RELEASE_RERUN_GROUP_INPUT: ${{ inputs.rerun_group }}
@@ -354,6 +361,12 @@ jobs:
354361
else
355362
run_release_soak=true
356363
fi
364+
fail_fast="$(printf '%s' "$RELEASE_FAIL_FAST_INPUT" | tr '[:upper:]' '[:lower:]')"
365+
if [[ "$fail_fast" != "true" && "$fail_fast" != "1" && "$fail_fast" != "yes" ]]; then
366+
fail_fast=false
367+
else
368+
fail_fast=true
369+
fi
357370
run_maturity_scorecard="$(printf '%s' "$RELEASE_RUN_MATURITY_SCORECARD_INPUT" | tr '[:upper:]' '[:lower:]')"
358371
if [[ "$run_maturity_scorecard" != "true" && "$run_maturity_scorecard" != "1" && "$run_maturity_scorecard" != "yes" ]]; then
359372
run_maturity_scorecard=false
@@ -482,6 +495,7 @@ jobs:
482495
printf 'mode=%s\n' "$RELEASE_MODE_INPUT"
483496
printf 'release_profile=%s\n' "$release_profile"
484497
printf 'run_release_soak=%s\n' "$run_release_soak"
498+
printf 'fail_fast=%s\n' "$fail_fast"
485499
printf 'run_maturity_scorecard=%s\n' "$run_maturity_scorecard"
486500
printf 'allow_unreleased_changelog=%s\n' "$allow_unreleased_changelog"
487501
printf 'rerun_group=%s\n' "$RELEASE_RERUN_GROUP_INPUT"
@@ -507,6 +521,7 @@ jobs:
507521
RELEASE_MODE: ${{ inputs.mode }}
508522
RELEASE_PROFILE: ${{ steps.inputs.outputs.release_profile }}
509523
RUN_RELEASE_SOAK: ${{ steps.inputs.outputs.run_release_soak }}
524+
FAIL_FAST: ${{ steps.inputs.outputs.fail_fast }}
510525
RUN_MATURITY_SCORECARD: ${{ steps.inputs.outputs.run_maturity_scorecard }}
511526
ALLOW_UNRELEASED_CHANGELOG: ${{ steps.inputs.outputs.allow_unreleased_changelog }}
512527
RELEASE_RERUN_GROUP: ${{ inputs.rerun_group }}
@@ -526,6 +541,7 @@ jobs:
526541
echo "- Cross-OS mode: \`${RELEASE_MODE}\`"
527542
echo "- Release profile: \`${RELEASE_PROFILE}\`"
528543
echo "- Release soak lanes: \`${RUN_RELEASE_SOAK}\`"
544+
echo "- Matrix QA fail fast: \`${FAIL_FAST}\`"
529545
echo "- Maturity scorecard docs: \`${RUN_MATURITY_SCORECARD}\`"
530546
echo "- Allow Unreleased changelog packaging: \`${ALLOW_UNRELEASED_CHANGELOG}\`"
531547
echo "- Rerun group: \`${RELEASE_RERUN_GROUP}\`"
@@ -1270,9 +1286,10 @@ jobs:
12701286
if pnpm openclaw qa suite --help | grep -Fq -- "--runtime-pair-lane"; then
12711287
runtime_pair_args+=(--runtime-pair-lane "$RUNTIME_PAIR_LANE")
12721288
elif [[ "$RUNTIME_PAIR_LANE" == "core" ]]; then
1273-
# Before runtime-pair lanes, the frozen candidate's standard and
1274-
# live-only tiers together defined the current core lane.
1275-
runtime_pair_args+=(--runtime-parity-tier standard,live-only)
1289+
# Legacy explicit-tier selection bypasses its provider eligibility
1290+
# filter. live-only scenarios require a live provider, so the mock
1291+
# core lane must select only the eligible standard tier.
1292+
runtime_pair_args+=(--runtime-parity-tier standard)
12761293
elif [[ "$RUNTIME_PAIR_LANE" == "soak" ]]; then
12771294
runtime_pair_args+=(--runtime-parity-tier soak)
12781295
else
@@ -1636,6 +1653,7 @@ jobs:
16361653
ref: ${{ needs.resolve_target.outputs.revision }}
16371654
expected_sha: ${{ needs.resolve_target.outputs.revision }}
16381655
run_matrix: true
1656+
fail_fast: ${{ fromJSON(needs.resolve_target.outputs.fail_fast) }}
16391657

16401658
# The dispatched child owns Telegram evidence/status artifacts; this blocking job
16411659
# carries its exact conclusion into the parent summary without copying secrets or artifacts.

0 commit comments

Comments
 (0)