Skip to content

Commit 4c68bfd

Browse files
committed
ci(release): filter QA live lanes
1 parent b6f9b5f commit 4c68bfd

3 files changed

Lines changed: 64 additions & 5 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ on:
5454
- qa-live
5555
- npm-telegram
5656
live_suite_filter:
57-
description: Optional exact live suite id for focused live/E2E reruns; blank runs all selected live suites
57+
description: Optional exact live/E2E suite id, or comma-separated QA live lanes such as qa-live-matrix,qa-live-telegram; blank runs all selected live suites
5858
required: false
5959
default: ""
6060
type: string

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

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ on:
5454
- qa-parity
5555
- qa-live
5656
live_suite_filter:
57-
description: Optional exact live suite id for focused live/E2E reruns; blank runs all selected live suites
57+
description: Optional exact live/E2E suite id, or comma-separated QA live lanes such as qa-live-matrix,qa-live-telegram; blank runs all selected live suites
5858
required: false
5959
default: ""
6060
type: string
@@ -88,6 +88,9 @@ jobs:
8888
release_profile: ${{ steps.inputs.outputs.release_profile }}
8989
rerun_group: ${{ steps.inputs.outputs.rerun_group }}
9090
live_suite_filter: ${{ steps.inputs.outputs.live_suite_filter }}
91+
qa_live_matrix_enabled: ${{ steps.inputs.outputs.qa_live_matrix_enabled }}
92+
qa_live_telegram_enabled: ${{ steps.inputs.outputs.qa_live_telegram_enabled }}
93+
qa_live_slack_enabled: ${{ steps.inputs.outputs.qa_live_slack_enabled }}
9194
package_acceptance_package_spec: ${{ steps.inputs.outputs.package_acceptance_package_spec }}
9295
steps:
9396
- name: Require main or release workflow ref for release checks
@@ -208,13 +211,67 @@ jobs:
208211
RELEASE_PACKAGE_ACCEPTANCE_PACKAGE_SPEC_INPUT: ${{ inputs.package_acceptance_package_spec }}
209212
run: |
210213
set -euo pipefail
214+
qa_live_matrix_enabled=true
215+
qa_live_telegram_enabled=true
216+
qa_live_slack_enabled=true
217+
218+
filter="$(printf '%s' "$RELEASE_LIVE_SUITE_FILTER_INPUT" | tr '[:upper:]' '[:lower:]')"
219+
if [[ -n "${filter// }" ]]; then
220+
qa_filter_seen=false
221+
matrix_selected=false
222+
telegram_selected=false
223+
slack_selected=false
224+
225+
IFS=', ' read -r -a filter_tokens <<< "$filter"
226+
for token in "${filter_tokens[@]}"; do
227+
token="${token//$'\t'/}"
228+
token="${token//$'\r'/}"
229+
token="${token//$'\n'/}"
230+
[[ -z "$token" ]] && continue
231+
case "$token" in
232+
qa-live|qa-live-all|qa-all)
233+
qa_filter_seen=true
234+
matrix_selected=true
235+
telegram_selected=true
236+
slack_selected=true
237+
;;
238+
qa-live-non-slack|qa-non-slack|non-slack|no-slack|without-slack)
239+
qa_filter_seen=true
240+
matrix_selected=true
241+
telegram_selected=true
242+
;;
243+
qa-live-matrix|qa-matrix|matrix)
244+
qa_filter_seen=true
245+
matrix_selected=true
246+
;;
247+
qa-live-telegram|qa-telegram|telegram)
248+
qa_filter_seen=true
249+
telegram_selected=true
250+
;;
251+
qa-live-slack|qa-slack|slack)
252+
qa_filter_seen=true
253+
slack_selected=true
254+
;;
255+
esac
256+
done
257+
258+
if [[ "$qa_filter_seen" == "true" ]]; then
259+
qa_live_matrix_enabled="$matrix_selected"
260+
qa_live_telegram_enabled="$telegram_selected"
261+
qa_live_slack_enabled="$slack_selected"
262+
fi
263+
fi
264+
211265
{
212266
printf 'ref=%s\n' "$RELEASE_REF_INPUT"
213267
printf 'provider=%s\n' "$RELEASE_PROVIDER_INPUT"
214268
printf 'mode=%s\n' "$RELEASE_MODE_INPUT"
215269
printf 'release_profile=%s\n' "$RELEASE_PROFILE_INPUT"
216270
printf 'rerun_group=%s\n' "$RELEASE_RERUN_GROUP_INPUT"
217271
printf 'live_suite_filter=%s\n' "$RELEASE_LIVE_SUITE_FILTER_INPUT"
272+
printf 'qa_live_matrix_enabled=%s\n' "$qa_live_matrix_enabled"
273+
printf 'qa_live_telegram_enabled=%s\n' "$qa_live_telegram_enabled"
274+
printf 'qa_live_slack_enabled=%s\n' "$qa_live_slack_enabled"
218275
printf 'package_acceptance_package_spec=%s\n' "$RELEASE_PACKAGE_ACCEPTANCE_PACKAGE_SPEC_INPUT"
219276
} >> "$GITHUB_OUTPUT"
220277
@@ -243,6 +300,7 @@ jobs:
243300
if [[ -n "${RELEASE_LIVE_SUITE_FILTER// }" ]]; then
244301
echo "- Live suite filter: \`${RELEASE_LIVE_SUITE_FILTER}\`"
245302
fi
303+
echo "- QA live lanes: Matrix \`${{ steps.inputs.outputs.qa_live_matrix_enabled }}\`, Telegram \`${{ steps.inputs.outputs.qa_live_telegram_enabled }}\`, Slack \`${{ steps.inputs.outputs.qa_live_slack_enabled }}\`"
246304
if [[ -n "${PACKAGE_ACCEPTANCE_PACKAGE_SPEC// }" ]]; then
247305
echo "- Package Acceptance package spec: \`${PACKAGE_ACCEPTANCE_PACKAGE_SPEC}\`"
248306
else
@@ -655,7 +713,7 @@ jobs:
655713
qa_live_matrix_release_checks:
656714
name: Run QA Lab live Matrix lane
657715
needs: [resolve_target]
658-
if: contains(fromJSON('["all","qa","qa-live"]'), needs.resolve_target.outputs.rerun_group)
716+
if: contains(fromJSON('["all","qa","qa-live"]'), needs.resolve_target.outputs.rerun_group) && needs.resolve_target.outputs.qa_live_matrix_enabled == 'true'
659717
runs-on: blacksmith-8vcpu-ubuntu-2404
660718
timeout-minutes: 60
661719
permissions:
@@ -732,7 +790,7 @@ jobs:
732790
qa_live_telegram_release_checks:
733791
name: Run QA Lab live Telegram lane
734792
needs: [resolve_target]
735-
if: contains(fromJSON('["all","qa","qa-live"]'), needs.resolve_target.outputs.rerun_group)
793+
if: contains(fromJSON('["all","qa","qa-live"]'), needs.resolve_target.outputs.rerun_group) && needs.resolve_target.outputs.qa_live_telegram_enabled == 'true'
736794
runs-on: blacksmith-8vcpu-ubuntu-2404
737795
timeout-minutes: 60
738796
permissions:
@@ -825,7 +883,7 @@ jobs:
825883
qa_live_slack_release_checks:
826884
name: Run QA Lab live Slack lane
827885
needs: [resolve_target]
828-
if: contains(fromJSON('["all","qa","qa-live"]'), needs.resolve_target.outputs.rerun_group)
886+
if: contains(fromJSON('["all","qa","qa-live"]'), needs.resolve_target.outputs.rerun_group) && needs.resolve_target.outputs.qa_live_slack_enabled == 'true'
829887
runs-on: blacksmith-8vcpu-ubuntu-2404
830888
timeout-minutes: 60
831889
permissions:

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Docs: https://docs.openclaw.ai
6060
- Google Meet: log the resolved audio provider model when starting Chrome and paired-node Meet talk-back bridges, so agent-mode joins show the STT model and bidi joins show the realtime voice model.
6161
- Diagnostics: handle missing session-tail files in cron recovery context without tripping extension test typecheck. Thanks @vincentkoc.
6262
- QA/Slack: update the Slack dispatch preview fallback test SDK mock for structured progress draft helpers, so the rich progress draft regression suite covers the new imports instead of failing before assertions run. Thanks @vincentkoc.
63+
- Release validation: allow focused QA live reruns to select Matrix and Telegram without running Slack, so known Slack credential-pool outages do not block non-Slack live proof. Thanks @vincentkoc.
6364
- Plugins/loader: keep bundled plugin package `test-api.js` aliases behind private QA mode, so source transforms do not expose test-only public surfaces during normal plugin loading. Thanks @vincentkoc.
6465
- Gateway/startup: start cron and record the post-ready memory trace even when deferred maintenance timers fail after readiness, so a non-fatal timer setup issue does not silently leave scheduled jobs idle. Thanks @vincentkoc.
6566
- Exec approvals: unwrap BSD/macOS `env -P <path>` carrier commands before approval-command and strict inline-eval checks, so `/approve` shell execution and inline interpreter payloads are still blocked behind that env form.

0 commit comments

Comments
 (0)