Skip to content

sweep_plan: --replay measures how many merged PRs skip the ReDoS sweeps (Part of #5166) - #6342

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

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

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

The ReDoS-sweep PR gating for #5166 item A.2 already shipped (#5191, #5225, #5882, #6133). The redos_sweep marker, the allow-list planner tests/tools/sweep_plan.py and the smoke-test.yml deselect all exist, and full-suite always reports. Push, nightly, dispatch, the shepherd:full label and an unreadable diff always run the sweeps. This PR adds the measurement the item asks for.

  • sweep_plan.py --replay N (needs gh) 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.
  • Tests in test_sweep_plan.py cover skip share, seconds saved, truncated and empty lists, and a failing gh.
  • docs/ci.md records 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 check on its own shows ~70 S101/S603 findings in tests/tools; the baseline-gated python tests/tools/audit_check.py is 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):

@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 03:20
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 03:25
@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