From 8d60bef1b4262b1e7b3d99083bcb16c52071e4b2 Mon Sep 17 00:00:00 2001 From: Xinmin Zeng <135568692+fancyboi999@users.noreply.github.com> Date: Wed, 18 Nov 2026 03:32:38 -0800 Subject: [PATCH] docs(tests): align contributor test rules with module-suite hygiene and sync 6-shard config (#8361) - Update AGENTS.md, backend/AGENTS.md, backend/tests/AGENTS.md, and PR template to fold regressions into owning module suites, prune superseded tests, and forbid inspect.getsource assertions. - Align CONTRIBUTING.md, backend/tests/AGENTS.md, backend/Makefile, and test_make_test_parallel.py with the 6-shard CI configuration. --- .github/pull_request_template.md | 14 ++++++++++++-- AGENTS.md | 4 +++- CONTRIBUTING.md | 4 ++-- backend/AGENTS.md | 8 +++++--- backend/Makefile | 12 ++++++------ backend/tests/AGENTS.md | 8 ++++++-- backend/tests/test_make_test_parallel.py | 12 ++++++------ 7 files changed, 40 insertions(+), 22 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3c15182eca..393a838ef9 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -46,13 +46,23 @@ Fixes # +## Test footprint + + + +- **Net test line delta** (`+ / -` across test files): +- **Merged or pruned old tests?** (`yes` — list consolidated/deleted test paths, or `no` — explain why net growth is needed): + + ## Validation