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.
This commit is contained in:
Hu Hongwei 2026-11-27 15:15:20 +08:00 committed by GitHub
parent 57a5f5f022
commit 7f864e3ed0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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