ci: serialize gateway watch artifact check · openclaw/openclaw@2282fcd
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -350,6 +350,25 @@ describe("ci workflow guards", () => {
|
350 | 350 | expect(buildArtifactSteps.map((step) => step.name)).not.toContain("Cache dist build"); |
351 | 351 | }); |
352 | 352 | |
| 353 | +it("runs gateway watch after parallel built artifact checks", () => { |
| 354 | +const workflow = readCiWorkflow(); |
| 355 | +const buildArtifactSteps = workflow.jobs["build-artifacts"].steps; |
| 356 | +const builtArtifactChecks = buildArtifactSteps.find( |
| 357 | +(step) => step.name === "Run built artifact checks", |
| 358 | +); |
| 359 | +const run = builtArtifactChecks.run; |
| 360 | + |
| 361 | +expect(run).toContain('start_check "channels"'); |
| 362 | +expect(run).toContain('start_check "core-support-boundary"'); |
| 363 | +expect(run).not.toContain('start_check "gateway-watch"'); |
| 364 | +expect(run.indexOf('for index in "${!pids[@]}"')).toBeLessThan( |
| 365 | +run.indexOf('if [ "$RUN_GATEWAY_WATCH" = "true" ]; then'), |
| 366 | +); |
| 367 | +expect(run).toContain( |
| 368 | +'node scripts/check-gateway-watch-regression.mjs --skip-build >"$log" 2>&1', |
| 369 | +); |
| 370 | +}); |
| 371 | + |
353 | 372 | it("fails and retries quiet Node test shard stalls quickly", () => { |
354 | 373 | const workflow = readCiWorkflow(); |
355 | 374 | const nodeTestJob = workflow.jobs["checks-node-core-test-nondist-shard"]; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。