fix(ci): kill timed tui pty test runs · openclaw/openclaw@081e295
vincentkoc
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,6 +17,7 @@ const CI_CHECK_TESTBOX_WORKFLOW = ".github/workflows/ci-check-testbox.yml";
|
17 | 17 | const CRABBOX_HYDRATE_WORKFLOW = ".github/workflows/crabbox-hydrate.yml"; |
18 | 18 | const CRABBOX_CONFIG = ".crabbox.yaml"; |
19 | 19 | const SCHEDULED_LIVE_CHECKS_WORKFLOW = ".github/workflows/openclaw-scheduled-live-checks.yml"; |
| 20 | +const TUI_PTY_WORKFLOW = ".github/workflows/tui-pty.yml"; |
20 | 21 | const CI_HYDRATE_LIVE_AUTH_SCRIPT = "scripts/ci-hydrate-live-auth.sh"; |
21 | 22 | const UPGRADE_SURVIVOR_RUN_SCRIPT = "scripts/e2e/lib/upgrade-survivor/run.sh"; |
22 | 23 | |
@@ -1299,4 +1300,13 @@ describe("package artifact reuse", () => {
|
1299 | 1300 | ); |
1300 | 1301 | expect(readFileSync(LIVE_E2E_WORKFLOW, "utf8")).toContain("live-cache attempt ${attempt}/2"); |
1301 | 1302 | }); |
| 1303 | + |
| 1304 | +it("kills timed TUI PTY workflow runs after the grace period", () => { |
| 1305 | +const job = workflowJob(TUI_PTY_WORKFLOW, "tui-pty"); |
| 1306 | +const step = workflowStep(job, "Run TUI PTY tests"); |
| 1307 | + |
| 1308 | +expect(step.run).toBe( |
| 1309 | +"timeout --kill-after=30s 120s node scripts/run-vitest.mjs run --config test/vitest/vitest.tui-pty.config.ts", |
| 1310 | +); |
| 1311 | +}); |
1302 | 1312 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。