From 9759e3e79d43371f4130aaea208f176360e4e101 Mon Sep 17 00:00:00 2001 From: ranxianglei Date: Fri, 23 Oct 2026 00:51:18 +0800 Subject: [PATCH 1/2] ci: register tests/storage-durability.test.ts in LIVE_FILES (#4333) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #4177 landed the storage durability trio but its new suite spawns child processes without registering in scripts/live-files.mjs, so the #1248 SPAWN_RE tripwire fails every CI run — master aa198fe61 is red and every branch rebased onto it inherits the failure. Concurrency review: the suite only spawns `node -e setTimeout` probes (no port binding) and isolates data in mkdtempSync dirs; slot 31 / zone band 19811 is free. Fixes #4333. --- scripts/live-files.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/live-files.mjs b/scripts/live-files.mjs index 7dbd65d17f..02221e742d 100644 --- a/scripts/live-files.mjs +++ b/scripts/live-files.mjs @@ -38,6 +38,7 @@ export const LIVE_FILES = [ "tests/port-zone-live.test.ts", "tests/port-zone.test.ts", "tests/release-ci-gate.test.ts", + "tests/storage-durability.test.ts", "tests/test-suite-lock.test.ts", "tests/text-safe.test.ts", "tests/watchdog-health-daemon.test.ts", From 0f2144816b7704dd5ed991f5450cfc3fb27df3c7 Mon Sep 17 00:00:00 2001 From: ranxianglei Date: Fri, 23 Oct 2026 00:58:41 +0800 Subject: [PATCH 2/2] ci: build kernel before the mysql-contract suites (#4336) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since #4177 the storage contract suites transitively import acp-kernel at runtime (backend -> store -> runtime-status -> knobs -> config), and tsx resolves it to kernel/dist — which this job never built. Mirror the prerequisite the main test matrix (run-ci-tests pretest parity) and ci-e2e-dsh.yml already carry. Fixes #4336. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 503314aae1..b903f9e0d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -272,6 +272,11 @@ jobs: node-version: 22 cache: npm - run: npm install --ignore-scripts --no-fund --no-audit + # #4336: the storage suites transitively import acp-kernel at runtime + # (store.ts -> runtime-status -> knobs -> config) since #4177 — tsx + # resolves it to the built dist. Same prerequisite as the main test + # matrix (run-ci-tests pretest parity) and ci-e2e-dsh.yml. + - run: npm --prefix kernel run build - run: node --import tsx --test tests/storage-backend-contract.test.ts tests/storage-backend-knob.test.ts env: BILI_MYSQL_TEST_DSN: mysql://root:bili-test-root@127.0.0.1:3306/bili