From cc7142939b24582b921669ab2e0ca59bf128807d Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Mon, 6 Apr 2026 14:51:38 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@a010ce462f91b64e6482abb447ea2a9dd564da80 --- .openclaw-sync/source.json | 4 ++-- docs/help/testing.md | 1 + docs/reference/test.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index bc7e09cfa..17554b2e4 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "6f566585d84fa3f6c0c630f101653f864821054e", - "syncedAt": "2026-04-06T14:43:17.482Z" + "sha": "a010ce462f91b64e6482abb447ea2a9dd564da80", + "syncedAt": "2026-04-06T14:51:38.280Z" } diff --git a/docs/help/testing.md b/docs/help/testing.md index e3c66dda9..e9829a676 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -60,6 +60,7 @@ Think of the suites as “increasing realism” (and increasing flakiness/cost): - Untargeted `pnpm test` still uses the native Vitest root `projects` config. - `pnpm test`, `pnpm test:watch`, and `pnpm test:perf:imports` route explicit file/directory targets through scoped lanes first, so `pnpm test extensions/discord/src/monitor/message-handler.preflight.test.ts` avoids paying the full root project startup tax. - `pnpm test:changed` expands changed git paths into the same scoped lanes when the diff only touches routable source/test files; config/setup edits still fall back to the broad root-project rerun. + - Selected `plugin-sdk` and `commands` tests also route through dedicated light lanes that skip `test/setup-openclaw-runtime.ts`; stateful/runtime-heavy files stay on the existing lanes. - Embedded runner note: - When you change message-tool discovery inputs or compaction runtime context, keep both levels of coverage. diff --git a/docs/reference/test.md b/docs/reference/test.md index 0407abc2b..b5526c3a8 100644 --- a/docs/reference/test.md +++ b/docs/reference/test.md @@ -14,6 +14,7 @@ title: "Tests" - `pnpm test:coverage:changed`: Runs unit coverage only for files changed since `origin/main`. - `pnpm test:changed`: expands changed git paths into scoped Vitest lanes when the diff only touches routable source/test files. Config/setup changes still fall back to the native root projects run so wiring edits rerun broadly when needed. - `pnpm test`: routes explicit file/directory targets through scoped Vitest lanes, but still falls back to the native root projects run when you do a full untargeted sweep. +- Selected `plugin-sdk` and `commands` test files now route through dedicated light lanes that keep only `test/setup.ts`, leaving runtime-heavy cases on their existing lanes. - Base Vitest config now defaults to `pool: "threads"` and `isolate: false`, with the shared non-isolated runner enabled across the repo configs. - `pnpm test:channels` runs `vitest.channels.config.ts`. - `pnpm test:extensions` runs `vitest.extensions.config.ts`.