mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(release): keep beta Telegram advisory nonblocking
This commit is contained in:
@@ -885,6 +885,9 @@ jobs:
|
||||
}
|
||||
|
||||
release_check_blocking_job() {
|
||||
if [[ "$RELEASE_PROFILE" == "beta" && "$1" == "Run package acceptance / Telegram package acceptance / "* ]]; then
|
||||
return 1
|
||||
fi
|
||||
case "$1" in
|
||||
"resolve_target" | \
|
||||
"Prepare release package artifact" | \
|
||||
@@ -958,12 +961,13 @@ jobs:
|
||||
# E2E under the same caller stays blocking.
|
||||
failed_jobs_json="$(
|
||||
jq '[.[] | select(
|
||||
(.name | startswith("Run repo/live E2E validation / "))
|
||||
and ((.name | contains("Docker live"))
|
||||
or (.name | contains("Live media suites"))
|
||||
or (.name | contains("validate_live_provider_suites"))
|
||||
or (.name | contains("validate_release_live_cache"))
|
||||
or (.name | contains("prepare_live_test_image")))
|
||||
(((.name | startswith("Run repo/live E2E validation / "))
|
||||
and ((.name | contains("Docker live"))
|
||||
or (.name | contains("Live media suites"))
|
||||
or (.name | contains("validate_live_provider_suites"))
|
||||
or (.name | contains("validate_release_live_cache"))
|
||||
or (.name | contains("prepare_live_test_image"))))
|
||||
or (.name | startswith("Run package acceptance / Telegram package acceptance / ")))
|
||||
| not)]' <<< "$failed_jobs_json"
|
||||
)"
|
||||
fi
|
||||
|
||||
@@ -622,7 +622,7 @@ describe("package acceptance workflow", () => {
|
||||
cwd: existingDir,
|
||||
});
|
||||
const sourceArchive = readFileSync(sourceZip);
|
||||
writeFileSync(corruptZip, sourceArchive.subarray(0, sourceArchive.length - 10));
|
||||
writeFileSync(corruptZip, sourceArchive.subarray(0, -10));
|
||||
|
||||
const compare = (left: string, right: string) =>
|
||||
spawnSync("python3", ["scripts/compare-release-evidence-zip.py", left, right], {
|
||||
@@ -3013,8 +3013,10 @@ describe("package artifact reuse", () => {
|
||||
"Verify release checks accepted Tideclaw alpha advisory lanes",
|
||||
"release_checks_advisory_only",
|
||||
"release_check_blocking_job",
|
||||
'if [[ "$RELEASE_PROFILE" == "beta" && "$1" == "Run package acceptance / Telegram package acceptance / "* ]]; then',
|
||||
'or (.name | startswith("Run QA Lab runtime parity tier ("))',
|
||||
'or .name == "Run QA Lab live Discord lane"',
|
||||
'or (.name | startswith("Run package acceptance / Telegram package acceptance / ")))',
|
||||
"is a package-safety Tideclaw alpha release-check lane",
|
||||
'"Run package acceptance" | \\',
|
||||
'"Run package acceptance / "*)',
|
||||
|
||||
Reference in New Issue
Block a user