fix(release): reject empty beta smoke runs · openclaw/openclaw@4dfc2cf
vincentkoc
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { describe, expect, it } from "vitest"; |
2 | 2 | import { |
3 | 3 | mergeTelegramProofIntoReleaseBody, |
| 4 | +parseArgs, |
4 | 5 | parseWorkflowRunIdFromOutput, |
5 | 6 | selectNewestDispatchedRunId, |
6 | 7 | } from "../../scripts/release-beta-smoke.ts"; |
7 | 8 | |
8 | 9 | describe("release-beta-smoke", () => { |
| 10 | +it("rejects runs with both validation lanes skipped", () => { |
| 11 | +expect(() => parseArgs(["--skip-parallels", "--skip-telegram"])).toThrow( |
| 12 | +"--skip-parallels and --skip-telegram cannot be used together", |
| 13 | +); |
| 14 | +}); |
| 15 | + |
9 | 16 | it("parses workflow run urls when gh includes them in dispatch output", () => { |
10 | 17 | expect( |
11 | 18 | parseWorkflowRunIdFromOutput( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。