ci: tolerate missing performance report URL · openclaw/openclaw@e079604
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -272,7 +272,11 @@ jobs:
|
272 | 272 | report_url="https://github.com/openclaw/clawgrit-reports/tree/main/openclaw-performance/${ref_slug}/${run_slug}/${LANE_ID}" |
273 | 273 | fi |
274 | 274 | summary_path="$SUMMARY_DIR/${LANE_ID}.md" |
275 | | - node scripts/kova-ci-summary.mjs --report "$report_json" --output "$summary_path" --lane "$LANE_ID" --report-url "$report_url" |
| 275 | + summary_args=(node scripts/kova-ci-summary.mjs --report "$report_json" --output "$summary_path" --lane "$LANE_ID") |
| 276 | + if [[ -n "$report_url" ]]; then |
| 277 | + summary_args+=(--report-url "$report_url") |
| 278 | + fi |
| 279 | + "${summary_args[@]}" |
276 | 280 | cat "$summary_path" >> "$GITHUB_STEP_SUMMARY" |
277 | 281 | |
278 | 282 | if [[ "$FAIL_ON_REGRESSION" == "true" && "$status" != "0" ]]; then |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。