Skip to content

Commit f036ed2

Browse files
authored
CI: guard gateway watch against duplicate runtime regressions (openclaw#49048)
1 parent 7cd0acf commit f036ed2

File tree

3 files changed

+493
-0
lines changed

3 files changed

+493
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,34 @@ jobs:
333333
- name: Check CLI startup memory
334334
run: pnpm test:startup:memory
335335

336+
gateway-watch-regression:
337+
name: "gateway-watch-regression"
338+
needs: [docs-scope, changed-scope]
339+
if: needs.docs-scope.outputs.docs_only != 'true' && needs.changed-scope.outputs.run_node == 'true'
340+
runs-on: blacksmith-16vcpu-ubuntu-2404
341+
steps:
342+
- name: Checkout
343+
uses: actions/checkout@v6
344+
with:
345+
submodules: false
346+
347+
- name: Setup Node environment
348+
uses: ./.github/actions/setup-node-env
349+
with:
350+
install-bun: "false"
351+
use-sticky-disk: "false"
352+
353+
- name: Run gateway watch regression harness
354+
run: pnpm test:gateway:watch-regression
355+
356+
- name: Upload gateway watch regression artifacts
357+
if: always()
358+
uses: actions/upload-artifact@v7
359+
with:
360+
name: gateway-watch-regression
361+
path: .local/gateway-watch-regression/
362+
retention-days: 7
363+
336364
# Validate docs (format, lint, broken links) only when docs files changed.
337365
check-docs:
338366
needs: [docs-scope]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@
553553
"test:fast": "vitest run --config vitest.unit.config.ts",
554554
"test:force": "node --import tsx scripts/test-force.ts",
555555
"test:gateway": "vitest run --config vitest.gateway.config.ts --pool=forks",
556+
"test:gateway:watch-regression": "node scripts/check-gateway-watch-regression.mjs",
556557
"test:install:e2e": "bash scripts/test-install-sh-e2e-docker.sh",
557558
"test:install:e2e:anthropic": "OPENCLAW_E2E_MODELS=anthropic CLAWDBOT_E2E_MODELS=anthropic bash scripts/test-install-sh-e2e-docker.sh",
558559
"test:install:e2e:openai": "OPENCLAW_E2E_MODELS=openai CLAWDBOT_E2E_MODELS=openai bash scripts/test-install-sh-e2e-docker.sh",

0 commit comments

Comments
 (0)