Skip to content

Commit 428fc16

Browse files
committed
ci: make Tideclaw alpha long gates advisory
1 parent 6ebe91d commit 428fc16

6 files changed

Lines changed: 86 additions & 0 deletions

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ jobs:
638638
name: Run package Telegram E2E
639639
needs: [resolve_target, prepare_release_package]
640640
if: ${{ always() && contains(fromJSON('["all","npm-telegram"]'), inputs.rerun_group) && (inputs.npm_telegram_package_spec != '' || inputs.release_package_spec != '' || (inputs.rerun_group == 'all' && inputs.release_profile == 'full')) }}
641+
continue-on-error: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}
641642
runs-on: ubuntu-24.04
642643
timeout-minutes: ${{ inputs.release_profile == 'full' && 120 || 60 }}
643644
outputs:
@@ -955,6 +956,8 @@ jobs:
955956
956957
if [[ "$NPM_TELEGRAM_RESULT" == "skipped" && -z "${NPM_TELEGRAM_RUN_ID// }" ]]; then
957958
check_child "npm_telegram" "" 0 || failed=1
959+
elif [[ "$CHILD_WORKFLOW_REF" =~ ^tideclaw/alpha/[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{4}Z$ ]]; then
960+
check_child "npm_telegram" "$NPM_TELEGRAM_RUN_ID" 0 || echo "::warning::npm_telegram is advisory for Tideclaw alpha validation."
958961
else
959962
check_child "npm_telegram" "$NPM_TELEGRAM_RUN_ID" 1 || failed=1
960963
fi

‎.github/workflows/npm-telegram-beta-e2e.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,18 @@ on:
4040
description: Optional comma-separated Telegram scenario ids
4141
required: false
4242
type: string
43+
advisory:
44+
description: Treat package Telegram failures as advisory for the caller
45+
required: false
46+
default: false
47+
type: boolean
4348
workflow_call:
4449
inputs:
50+
advisory:
51+
description: Treat package Telegram failures as advisory for the caller
52+
required: false
53+
default: false
54+
type: boolean
4555
package_spec:
4656
description: Published OpenClaw package spec to test when no artifact is supplied
4757
required: true
@@ -100,6 +110,7 @@ jobs:
100110
run_package_telegram_e2e:
101111
name: Run package Telegram E2E
102112
runs-on: blacksmith-32vcpu-ubuntu-2404
113+
continue-on-error: ${{ inputs.advisory }}
103114
timeout-minutes: 60
104115
environment: qa-live-shared
105116
permissions:

‎.github/workflows/openclaw-cross-os-release-checks-reusable.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,18 @@ on:
8686
required: false
8787
default: ""
8888
type: string
89+
advisory:
90+
description: Treat failures as advisory for the caller
91+
required: false
92+
default: false
93+
type: boolean
8994
workflow_call:
9095
inputs:
96+
advisory:
97+
description: Treat failures as advisory for the caller
98+
required: false
99+
default: false
100+
type: boolean
91101
ref:
92102
description: Public OpenClaw ref to validate (tag, branch, or full commit SHA)
93103
required: true
@@ -191,6 +201,7 @@ env:
191201
jobs:
192202
prepare:
193203
runs-on: ubuntu-24.04
204+
continue-on-error: ${{ inputs.advisory }}
194205
outputs:
195206
baseline_file_name: ${{ steps.baseline_metadata.outputs.file_name }}
196207
baseline_spec: ${{ steps.baseline.outputs.value }}
@@ -513,6 +524,7 @@ jobs:
513524
cross_os_release_checks:
514525
name: "${{ matrix.display_name }} / ${{ matrix.suite_label }}"
515526
needs: prepare
527+
continue-on-error: ${{ inputs.advisory }}
516528
strategy:
517529
fail-fast: false
518530
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}

‎.github/workflows/openclaw-live-and-e2e-checks-reusable.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,18 @@ on:
9797
- beta
9898
- stable
9999
- full
100+
advisory:
101+
description: Treat failures as advisory for the caller
102+
required: false
103+
default: false
104+
type: boolean
100105
workflow_call:
101106
inputs:
107+
advisory:
108+
description: Treat failures as advisory for the caller
109+
required: false
110+
default: false
111+
type: boolean
102112
ref:
103113
description: Ref, tag, or SHA to validate
104114
required: true
@@ -455,6 +465,7 @@ jobs:
455465
validate_release_live_cache:
456466
needs: validate_selected_ref
457467
if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'live-cache')
468+
continue-on-error: ${{ inputs.advisory }}
458469
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
459470
timeout-minutes: 20
460471
env:
@@ -505,6 +516,7 @@ jobs:
505516
validate_repo_e2e:
506517
needs: validate_selected_ref
507518
if: inputs.include_repo_e2e && inputs.live_suite_filter == ''
519+
continue-on-error: ${{ inputs.advisory }}
508520
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
509521
timeout-minutes: ${{ inputs.release_test_profile == 'full' && 90 || 60 }}
510522
env:
@@ -534,6 +546,7 @@ jobs:
534546
validate_special_e2e:
535547
needs: validate_selected_ref
536548
if: inputs.include_repo_e2e && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'openshell-e2e')
549+
continue-on-error: ${{ inputs.advisory }}
537550
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
538551
timeout-minutes: ${{ matrix.timeout_minutes }}
539552
strategy:
@@ -608,6 +621,7 @@ jobs:
608621
needs: [validate_selected_ref, prepare_docker_e2e_image]
609622
if: inputs.include_release_path_suites && inputs.docker_lanes == ''
610623
name: Docker E2E (${{ matrix.label }})
624+
continue-on-error: ${{ inputs.advisory }}
611625
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
612626
timeout-minutes: ${{ matrix.timeout_minutes }}
613627
strategy:
@@ -876,6 +890,7 @@ jobs:
876890
plan_docker_lane_groups:
877891
needs: validate_selected_ref
878892
if: inputs.docker_lanes != ''
893+
continue-on-error: ${{ inputs.advisory }}
879894
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-4vcpu-ubuntu-2404' }}
880895
timeout-minutes: 5
881896
outputs:
@@ -903,6 +918,7 @@ jobs:
903918
needs: [validate_selected_ref, prepare_docker_e2e_image, plan_docker_lane_groups]
904919
if: inputs.docker_lanes != ''
905920
name: Docker E2E targeted lanes (${{ matrix.group.label }})
921+
continue-on-error: ${{ inputs.advisory }}
906922
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
907923
timeout-minutes: 60
908924
strategy:
@@ -1112,6 +1128,7 @@ jobs:
11121128
needs: [validate_selected_ref, prepare_docker_e2e_image]
11131129
if: inputs.include_openwebui && !inputs.include_release_path_suites && inputs.docker_lanes == ''
11141130
name: Docker E2E (openwebui)
1131+
continue-on-error: ${{ inputs.advisory }}
11151132
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
11161133
timeout-minutes: 60
11171134
env:
@@ -1239,6 +1256,7 @@ jobs:
12391256
prepare_docker_e2e_image:
12401257
needs: validate_selected_ref
12411258
if: inputs.include_release_path_suites || inputs.include_openwebui || inputs.docker_lanes != ''
1259+
continue-on-error: ${{ inputs.advisory }}
12421260
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
12431261
timeout-minutes: ${{ inputs.release_test_profile == 'full' && 90 || 60 }}
12441262
permissions:
@@ -1483,6 +1501,7 @@ jobs:
14831501
prepare_live_test_image:
14841502
needs: validate_selected_ref
14851503
if: inputs.include_live_suites && (inputs.live_suite_filter == '' || startsWith(inputs.live_suite_filter, 'live-') || startsWith(inputs.live_suite_filter, 'docker-live-models'))
1504+
continue-on-error: ${{ inputs.advisory }}
14861505
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
14871506
timeout-minutes: 60
14881507
permissions:
@@ -1556,6 +1575,7 @@ jobs:
15561575
name: Docker live models (${{ matrix.provider_label }})
15571576
needs: [validate_selected_ref, prepare_live_test_image]
15581577
if: inputs.include_live_suites && inputs.live_model_providers == '' && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'docker-live-models')
1578+
continue-on-error: ${{ inputs.advisory }}
15591579
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
15601580
timeout-minutes: 45
15611581
strategy:
@@ -1708,6 +1728,7 @@ jobs:
17081728
name: Docker live models (selected providers)
17091729
needs: [validate_selected_ref, prepare_live_test_image]
17101730
if: inputs.include_live_suites && inputs.live_model_providers != '' && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'docker-live-models')
1731+
continue-on-error: ${{ inputs.advisory }}
17111732
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
17121733
timeout-minutes: 45
17131734
env:
@@ -1883,6 +1904,7 @@ jobs:
18831904
validate_live_provider_suites:
18841905
needs: validate_selected_ref
18851906
if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || (startsWith(inputs.live_suite_filter, 'native-live-') && !startsWith(inputs.live_suite_filter, 'native-live-extensions-media') && inputs.live_suite_filter != 'native-live-extensions-a-k'))
1907+
continue-on-error: ${{ inputs.advisory }}
18861908
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
18871909
timeout-minutes: ${{ matrix.timeout_minutes }}
18881910
strategy:
@@ -2204,6 +2226,7 @@ jobs:
22042226
name: Docker live suites (${{ matrix.label }})
22052227
needs: [validate_selected_ref, prepare_live_test_image]
22062228
if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || startsWith(inputs.live_suite_filter, 'live-'))
2229+
continue-on-error: ${{ inputs.advisory }}
22072230
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
22082231
timeout-minutes: ${{ matrix.timeout_minutes }}
22092232
strategy:
@@ -2423,6 +2446,7 @@ jobs:
24232446
name: Live media suites (${{ matrix.label }})
24242447
needs: validate_selected_ref
24252448
if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || startsWith(inputs.live_suite_filter, 'native-live-extensions-media') || inputs.live_suite_filter == 'native-live-extensions-a-k')
2449+
continue-on-error: ${{ inputs.advisory }}
24262450
runs-on: ${{ github.event_name == 'workflow_call' && 'ubuntu-24.04' || 'blacksmith-8vcpu-ubuntu-2404' }}
24272451
container:
24282452
image: ghcr.io/openclaw/openclaw-live-media-runner:ubuntu-24.04

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ jobs:
534534
permissions: read-all
535535
uses: ./.github/workflows/openclaw-cross-os-release-checks-reusable.yml
536536
with:
537+
advisory: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}
537538
ref: ${{ needs.resolve_target.outputs.revision }}
538539
provider: ${{ needs.resolve_target.outputs.provider }}
539540
mode: ${{ needs.resolve_target.outputs.mode }}
@@ -565,6 +566,7 @@ jobs:
565566
pull-requests: read
566567
uses: ./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml
567568
with:
569+
advisory: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}
568570
ref: ${{ needs.resolve_target.outputs.revision }}
569571
include_repo_e2e: true
570572
include_release_path_suites: false
@@ -630,6 +632,7 @@ jobs:
630632
pull-requests: read
631633
uses: ./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml
632634
with:
635+
advisory: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}
633636
ref: ${{ needs.resolve_target.outputs.revision }}
634637
include_repo_e2e: false
635638
include_release_path_suites: true
@@ -650,6 +653,7 @@ jobs:
650653
pull-requests: read
651654
uses: ./.github/workflows/package-acceptance.yml
652655
with:
656+
advisory: ${{ startsWith(github.ref, 'refs/heads/tideclaw/alpha/') }}
653657
workflow_ref: ${{ github.ref_name }}
654658
source: ${{ (needs.resolve_target.outputs.package_acceptance_package_spec != '' || needs.resolve_target.outputs.release_package_spec != '') && 'npm' || 'artifact' }}
655659
package_spec: ${{ needs.resolve_target.outputs.package_acceptance_package_spec || needs.resolve_target.outputs.release_package_spec || 'openclaw@beta' }}
@@ -1442,9 +1446,15 @@ jobs:
14421446
steps:
14431447
- name: Verify release check results
14441448
shell: bash
1449+
env:
1450+
WORKFLOW_REF: ${{ github.ref }}
14451451
run: |
14461452
set -euo pipefail
14471453
failed=0
1454+
tideclaw_alpha=false
1455+
if [[ "${WORKFLOW_REF}" =~ ^refs/heads/tideclaw/alpha/[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{4}Z$ ]]; then
1456+
tideclaw_alpha=true
1457+
fi
14481458
for item in \
14491459
"prepare_release_package=${{ needs.prepare_release_package.result }}" \
14501460
"install_smoke_release_checks=${{ needs.install_smoke_release_checks.result }}" \
@@ -1464,6 +1474,15 @@ jobs:
14641474
name="${item%%=*}"
14651475
result="${item#*=}"
14661476
if [[ "$result" != "success" && "$result" != "skipped" ]]; then
1477+
if [[ "$tideclaw_alpha" == "true" ]]; then
1478+
case "$name" in
1479+
prepare_release_package|install_smoke_release_checks) ;;
1480+
*)
1481+
echo "::warning::${name} ended with ${result}; Tideclaw alpha treats non-package-safety release-check lanes as advisory."
1482+
continue
1483+
;;
1484+
esac
1485+
fi
14671486
if [[ "$name" == qa_* ]]; then
14681487
echo "::warning::${name} ended with ${result}; QA release-check lanes are advisory and do not block release validation."
14691488
continue

‎.github/workflows/package-acceptance.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,18 @@ on:
9393
required: false
9494
default: ""
9595
type: string
96+
advisory:
97+
description: Treat acceptance failures as advisory for the caller
98+
required: false
99+
default: false
100+
type: boolean
96101
workflow_call:
97102
inputs:
103+
advisory:
104+
description: Treat acceptance failures as advisory for the caller
105+
required: false
106+
default: false
107+
type: boolean
98108
workflow_ref:
99109
description: Trusted repo ref for workflow scripts and Docker E2E harness
100110
required: false
@@ -509,6 +519,7 @@ jobs:
509519
needs: resolve_package
510520
uses: ./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml
511521
with:
522+
advisory: ${{ inputs.advisory }}
512523
ref: ${{ needs.resolve_package.outputs.package_source_sha || inputs.workflow_ref }}
513524
include_repo_e2e: false
514525
include_release_path_suites: ${{ needs.resolve_package.outputs.include_release_path_suites == 'true' }}
@@ -573,6 +584,7 @@ jobs:
573584
if: needs.resolve_package.outputs.telegram_enabled == 'true'
574585
uses: ./.github/workflows/npm-telegram-beta-e2e.yml
575586
with:
587+
advisory: ${{ inputs.advisory }}
576588
package_spec: ${{ inputs.package_spec }}
577589
package_artifact_name: ${{ needs.resolve_package.outputs.package_artifact_name }}
578590
package_label: openclaw@${{ needs.resolve_package.outputs.package_version }}
@@ -599,6 +611,7 @@ jobs:
599611
shell: bash
600612
run: |
601613
set -euo pipefail
614+
advisory="${{ inputs.advisory }}"
602615
failed=0
603616
for item in \
604617
"resolve_package=${RESOLVE_RESULT}" \
@@ -608,6 +621,10 @@ jobs:
608621
name="${item%%=*}"
609622
result="${item#*=}"
610623
if [[ "$result" != "success" && "$result" != "skipped" ]]; then
624+
if [[ "$advisory" == "true" && "$name" != "resolve_package" ]]; then
625+
echo "::warning::${name} ended with ${result}; package acceptance is advisory for this caller."
626+
continue
627+
fi
611628
echo "::error::${name} ended with ${result}"
612629
failed=1
613630
fi

0 commit comments

Comments
 (0)