Repository navigation
test_sweep_plan: PR-skip classifier edge cases; re-measured skip share (Part of #5166) - #6517
Conversation
… missing files; re-measured skip share (Part of #5166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6517 @ 5f6ff74: 2 failed check(s) == full-suite (failure) -- main == full-suite part 3/3 (failure) -- real |
|
No description provided. |
|
No description provided. |
Checklist: done [c:1d258b56]
Part of #5166 (A, last checklist item). The classifier (
sweep_plan.py) and its both-direction tests were already on main (#5191, #5225, #6342, #6362); this adds the remaining edge cases and re-measures.What changed
test_sweep_plan.py: push/schedule/dispatch ignore a given PR file list (always full); replay counts a PR with a missing/None/namelessfilesas full.docs/ci.md: fresh--replay 50numbers.Measured (
python tests/tools/sweep_plan.py --replay 50, 2026-10-24)23 of the last 50 merged PRs (46%) would have skipped the ReDoS sweeps; 576 s serial per run, so about 221 serial runner-minutes saved (~9.6 per skipped run). The earlier sample (38 of 50, 76%) was a different PR mix.
Class / Sibling gaps
Class: the PR-skip classifier must skip only when no changed file is a sweep input, and run in every other case (events, label, empty/unreadable/partial diff, renames, near-miss paths, import-closure guard). Every member is covered by tests in
test_sweep_plan.py. Sibling planners (ground_truth_plan.py,det_sweep_plan.py,audit_skip_plan.py) have their own test files; not re-audited here.Cross-repo: none.
🤖 Generated with Claude Code