fix(ci): skip transcript guard for older release targets · openclaw/openclaw@74c6f17
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
File tree
.agents/skills/release-openclaw-ci
| Original file line number | Diff line number | Diff line change |
|---|
@@ -65,6 +65,13 @@ gh workflow run openclaw-performance.yml \
|
65 | 65 | |
66 | 66 | Prefer the trusted workflow on `main`, target the exact release SHA: |
67 | 67 | |
| 68 | +- Keep trusted-workflow checks compatible with frozen release targets. If |
| 69 | +`main` adds a target-owned guard script or package command after the release |
| 70 | + branch cut, make the trusted workflow skip only when that target surface is |
| 71 | + absent. Heal the trusted workflow before rerunning validation; do not port an |
| 72 | + unrelated runtime refactor or mutate the release candidate just to satisfy a |
| 73 | + newer `main`-only check. |
| 74 | + |
68 | 75 | ```bash |
69 | 76 | gh workflow run full-release-validation.yml \ |
70 | 77 | --repo openclaw/openclaw \ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1523,7 +1523,13 @@ jobs:
|
1523 | 1523 | fi |
1524 | 1524 | ;; |
1525 | 1525 | session-transcript-reader-boundary) |
1526 | | - run_check "lint:tmp:session-transcript-reader-boundary" pnpm run lint:tmp:session-transcript-reader-boundary |
| 1526 | + if [ ! -f scripts/check-session-transcript-reader-boundary.mjs ]; then |
| 1527 | + echo "[skip] session transcript reader boundary check is not present in this checkout" |
| 1528 | + elif ! node -e 'const pkg = require("./package.json"); process.exit(pkg.scripts?.["lint:tmp:session-transcript-reader-boundary"] ? 0 : 1);'; then |
| 1529 | + echo "[skip] session transcript reader boundary script is not present in package.json" |
| 1530 | + else |
| 1531 | + run_check "lint:tmp:session-transcript-reader-boundary" pnpm run lint:tmp:session-transcript-reader-boundary |
| 1532 | + fi |
1527 | 1533 | ;; |
1528 | 1534 | extension-channels) |
1529 | 1535 | run_check "lint:extensions:channels" pnpm run lint:extensions:channels |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。