Repository navigation
sweep_plan: --replay measures how many merged PRs skip the ReDoS sweeps (Part of #5166) - #6342
Merged
Merged
Conversation
…DoS sweeps (Part of #5166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 03:20
squid-protocol
enabled auto-merge (squash)
October 24, 2026 03:25
Owner
Author
|
No description provided. |
This was referenced Oct 24, 2026
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.
The ReDoS-sweep PR gating for #5166 item A.2 already shipped (#5191, #5225, #5882, #6133). The
redos_sweepmarker, the allow-list plannertests/tools/sweep_plan.pyand the smoke-test.yml deselect all exist, andfull-suitealways reports. Push, nightly, dispatch, theshepherd:fulllabel and an unreadable diff always run the sweeps. This PR adds the measurement the item asks for.sweep_plan.py --replay N(needsgh) plans the last N merged PRs and prints the skip share and serial minutes saved. A PR whose file list may be cut short by gh (100 files) counts as full.test_sweep_plan.pycover skip share, seconds saved, truncated and empty lists, and a failinggh.docs/ci.mdrecords the dated measurement.Measured 2026-10-24 (last 50 merged PRs): 38 of 50 (76%) would have skipped the sweeps. At ~576 s of serial sweep time per run (from
.test_durations), that is ~365 serial runner-minutes (~9.6 per skipped run).Checklist: done [c:f5ebfe27]
Cross-repo: none.
Lessons for agents
ruff checkon its own shows ~70 S101/S603 findings intests/tools; the baseline-gatedpython tests/tools/audit_check.pyis the real gate.🤖 Generated with Claude Code
Class / Sibling gaps
Copied from the worker's report by promoter-bot's precheck.
Sibling gaps (no burned-estate program needs any of them):
core_engine*_redos_sweeptests, includingcleanup_contract_2888andimmutability_locks_2772, belong to item C.