Repository navigation
ci: deselect the extraction ReDoS sweeps on a PR with no sweep input (Part of #5166) - #5191
Conversation
…(Part of #5166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #5191 @ c3cfb4f: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
…er-test limit (Part of #5166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5191 @ 20416bd: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
…ratchet text, keep ReDoS sweeps section) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (c7582b2) is not the one a maintainer labelled |
1 similar comment
|
CI shepherd: the head of this PR (c7582b2) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
…weeps and Fewer PR jobs sections) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #5166 (part A; part B landed in #5169 / #5171).
What
A pull request that changes no sweep input deselects the extraction ReDoS sweeps in the
full-suiteparts. Push, nightly, manual, theshepherd:fulllabel, an empty or unreadable diff andfull-suite-gate.ymlalways run them.full-suitestill runs and reports on every PR.redos_sweepmarker (pyproject.toml), applied by atryfirsthook intests/conftest.pyto tests undertests/extraction/whose name hasredosorlinear_on_pathological. It runs before pytest's-mdeselection and pytest-split's slicing.tests/tools/sweep_plan.py: an ALLOW-list of non-inputs (docs,.claude/, other workflows,tests/cobol_mainframe/,tests/equivalence/,tests/tools/), asground_truth_plan.pydoes. An unlisted path is an input, so an omission can only keep a sweep, never drop one. INPUTS (the engine,tests/extraction/,tests/conftest.py,pyproject.toml, requirements,smoke-test.yml,full-suite-gate.yml, the planner) win.smoke-test.ymlfull-suite-part: a plan step, then-m "not golden_crucible and not redos_sweep"only when its output is exactlynone(a bare-mreplacesaddopts, sogolden_crucibleis repeated). The checkout isfetch-depth: 0on a PR so the diff has a merge base. No other workflow is touched.docs/ci.md: one paragraph.Class table
tests/extractiontests named*redos*/*linear_on_pathological*(748 marked)tests/core_engine*_redos_sweep(~23, ~0.1 min)full-suite-gate.ymlmatrixEvidence
tests/extraction: 9619 tests;-m "not golden_crucible and not redos_sweep"keeps 8870 (749 deselected = 748 sweeps + 1 golden_crucible). Acrosstests/,-m redos_sweepselects 748.tests/tools/test_sweep_plan.py(67 tests, run as plainpytestfrom/tmp): one path per input family -> full, one per non-input family -> none, mixed diffs, non-PR events, label, empty / unreadable diff, an import guard (no extraction test imports a non-input module), marker == name rule and-msees it, acore_enginetest is not marked, workflow structure.pr_gates --fast6/6 pass;--ratchets8 pass, 0 fail, 0 skipped. No golden bless (no parsing change).Cross-repo
None.
To watch on the first CI run
Part balance: pytest-split slices after deselection, so a skipped run's three parts should be balanced by the remaining tests' durations.
Lessons for agents
git diff origin/main...HEADneedsfetch-depth: 0on the checkout; the default shallow clone has no merge base and the planner would silently fall back to "full" every time.🤖 Generated with Claude Code