Skip to content

test_sweep_plan: near-miss paths keep the ReDoS sweeps; replay measure (Part of #5166) - #6362

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5166-20261024T0438Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5166-20261024T0438Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Checklist: partial [c:1d258b56] -- the classifier was already tested in both directions (92 tests, #5191/#5225/#6342); this adds the near-miss boundary class. Measured share and minutes below.

What

tests/tools/test_sweep_plan.py already pins run (INPUT_PATHS, engine input mix) and skip (NON_INPUT_PATHS, ENGINE_NON_INPUT_PATHS) per family, plus event / label / empty-diff cases. The gap was paths that only look like a non-input pattern (sibling prefix, nested copy): gitgalaxy/standards/cics_extra.py, gitgalaxy/tools/cobol_to_java_helper.py, gitgalaxy/cobol_to_java_controller_v2.py, tests/extraction_extra/..., requirements-dev.txt, ci/requirements/extra/... must all keep the sweeps. 7 new parametrized cases; no engine change.

Measured (sweep_plan.py --replay 50, last 50 merged PRs)

  • 36 of 50 would have skipped the redos_sweep marker: 72%.
  • Sweep cost per run 576.3 s serial; ~345.8 serial minutes saved across the 50 PRs (~9.6 min per skipping PR). Serial seconds from the committed durations file, not wall-clock on parallel CI parts.

Class / Sibling gaps

Class: planner path classification (path -> run/skip). Members: INPUTS families, NON_INPUTS families, ENGINE_NON_INPUTS, event, label, empty diff, rename, near-miss prefixes. None: every member handled and tested.

Gates

tests/tools/test_sweep_plan.py: 99 pass. Not run: pr_gates --fast/--ratchets (one test-only file).

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 04:55
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 04:59
@squid-protocol
squid-protocol merged commit f3e06ff into main Oct 24, 2026
48 checks passed
@squid-protocol
squid-protocol deleted the churn/5166-20261024T0438Z branch October 24, 2026 05:18
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant