From 7f864e3ed03c221771183173d726dcf8e2b0365d Mon Sep 17 00:00:00 2001 From: Hu Hongwei <46087189+jadelike-wine@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:15:20 +0800 Subject: [PATCH] docs(testing): state the six-shard layout and full offline exclusions (#8717) `backend/README.md` still described the default backend suite as four parallel shards. `backend/Makefile` runs six (`TEST_SHARD_TARGETS` is test-shard-1..6, `make test` passes SPLITS=6) and the CI matrix in `.github/workflows/backend-unit-tests.yml` uses `shard: [1, 2, 3, 4, 5, 6]`, so the recipe understated the parallelism and could send a contributor looking for a fourth-shard-only failure that does not exist. The exclusion list was also incomplete: the make target selects `-m "not live and not bundled_extension and not benchmark"` and ignores `tests/blocking_io`, so bundled-extension and benchmark tests are excluded too. Align both documents with the target and with each other. --- CONTRIBUTING.md | 2 +- backend/README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 30af6413a8..4d35e17cf1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -350,7 +350,7 @@ before review. python -m pip install -r tests/skills/requirements.txt python -m pytest tests/skills -q -# Default backend tests (six parallel shards matching CI; excludes live, blocking-I/O and bundled-extension tests) +# Default backend tests (six parallel shards matching CI; excludes live, blocking-I/O, bundled-extension and benchmark tests) cd backend make test diff --git a/backend/README.md b/backend/README.md index b42038fbce..9a5b021fd2 100644 --- a/backend/README.md +++ b/backend/README.md @@ -555,7 +555,8 @@ the only execution path, which keeps operational mistakes off the table. See ### Testing ```bash -# Default offline backend suite (four parallel shards; excludes live and blocking-I/O tests) +# Default offline backend suite (six parallel shards matching CI; excludes live, +# blocking-I/O, bundled-extension and benchmark tests) make test # Run the same shards sequentially