Repository navigation
refactor(tests): consolidate 1,661 top-level issue*.rs tests into 17 grouped integration crates - #4219
Merged
caomengxuan666 merged 1 commit intoNov 27, 2026
Conversation
Member
Author
|
Captain review — 需返工。 总数算术闭合、无测试丢失(总数 −20 = 重复运行消除 −24 + master 后合入的 #4195/#4201 测试 +4;src/ 零改动、豁免清单完整、goldens 与基线一致),但有 2 处确定性分组回归,请返工:
可选打磨:2 条新增 non_snake_case 模块警告(issue3008_printf_S_c_locale、issue544_declare_aA_conflict),可 |
…grouped integration crates Consolidate eligible top-level tests/issue*.rs regression files into 17 balanced numeric-range integration test crates (tests/issues_0001_0399.rs through tests/issues_3900_4199.rs, 74-118 modules each) using git mv to preserve rename history. Impact: - Top-level tests/*.rs integration targets: 1,857 -> 213 (-88.5%) - scripts/check-rustfmt.py targets: 1,862 -> 218 (14 batches -> 2 batches) - Native `cargo fmt --check` now passes on Windows without os error 206 - Exact #[test] conservation: 16,241 before == 16,241 after - Zero changes to src/, Cargo.toml, Cargo.lock, .github/, or scripts/ci-pin-exclusions.txt; all 104 excluded stems and all 9 hardcoded ci.yml `--test issue*` stems remain untouched at tests/*.rs Refs #4202
caomengxuan666
force-pushed
the
refactor/4202-consolidate-issue-test-crates
branch
from
November 27, 2026 00:14
5d086dd to
cec516e
Compare
Member
Author
|
Rebased onto current \master\ and addressed captain review:
|
Member
Author
|
CAPTAIN-VERIFY — 合入。 运行时复验(devin-mac,head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #4202 (P0 — Integration Test Crate Consolidation).
Consolidates 1,661 eligible top-level
tests/issue*.rsintegration test binaries into 17 balanced grouped integration test crates (tests/issues_0001_0399.rsthroughtests/issues_3900_4199.rs, 74–118 submodules each) viagit mvso file history is preserved.Key Metrics
master)tests/*.rstargetsscripts/check-rustfmt.pytargetscargo fmt --checkos error 206)exit 0)#[test]functions acrosstests/Safety & Compatibility Guarantees
scripts/ci-pin-exclusions.txtremain untouched attests/<stem>.rs(scripts/ci-run-pin-stems.shreports 0 stale/missing entries).--test issue*targets in.github/workflows/ci.ymlremain untouched attests/<stem>.rs.#[path = ...]/include_str!(issue615_bashdb_fixture_gate.rs,issue3605_globignore_strmatch_regressions.rs) remain untouched attests/<stem>.rs.src/,Cargo.toml,Cargo.lock,.github/, orscripts/.Verification
tests/issues_*.rsbinaries compiled cleanly on Windows (cargo test --locked --no-run --test issues_*: 7.9s incremental)#[test]count conservation verified (16,241 == 16,241)scripts/ci-pin-exclusions.txtentries + 9ci.ymlstems verified present (0 missing)python scripts/check-rustfmt.py:ok - 218 target(s) formatted (2021: 218) in 2 batch(es)cargo fmt --check(native Windows):exit 0