Repository navigation
CI critical path: drop duplicate evidence_components run, speed up evidence._match (Part of #5162) - #5163
Merged
Conversation
… full suite; evidence._match compiled and memoised (Part of #5162) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
Local gates (worktree, full-extras venv, via heavy-run.sh): 🤖 Generated with Claude Code |
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 14, 2026 23:03
squid-protocol
enabled auto-merge (squash)
October 14, 2026 23:08
Contributor
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.
Part of #5162 (siblings of #5133).
Changes
smoke-test.yml: the full-suite parts pass--ignore=tests/cobol_mainframe/test_evidence_components.py.mainframe-ground-truth.ymlruns all oftests/cobol_mainframe/, so the file ran twice.full-suite-gate.ymlis left alone: nothing else covers that file on the OS x Python grid.tests/tools/evidence.py_match: compiles each pattern list into one regex (plus the exact-equality rule) and memoises per (files, spec). Same selection, verified on all 245 target specs and by the newtests/tools/test_evidence_match_5162.py.docs/ci.mdnote.Measurement (serial,
-n0, same box, local venv)Profile of
test_check_fails_on_an_edited_report(53 s): 49 s inrebuilt(), 48 s of itlast_coverage->compute_inputs, whose cost was 17Mhit()calls in_match.test_evidence_report.py(whole file)test_the_committed_reports_are_currenttest_the_release_gate_fails_while_a_level_is_staletest_check_fails_on_an_edited_reporttest_the_components_partition_each_inputThe five tests took ~430 s under
-n autocontention in CI; the same share is halved. No CI wall-time number yet (draft PRs skip heavy CI); the after-run is for the dispatch.Sibling gaps
-n autocontention; a wall-calibrated weight needs a recording change infull-suite-durations, and CI critical path: advisory deltas job, refreshed durations, ground-truth in 2 parts (Part of #5133) #5151 is moving the same area.full-suite-gate.ymlstill runstest_evidence_components.pyon every OS/Python leg (now ~14 s on its slowest test, not 226 s).test_the_committed_reports_are_currentfails in my bare local venv before and after this change (reports "not current"); not investigated, CI is the judge.rebuilt()callers still rebuild all estates per test (~5-15 s each); a per-module memo ofbuildwould cut more.Cross-repo
None. Overlap: #5151 also edits
docs/ci.md(appended section, trivial rebase) andsmoke-test.yml(different hunk).🤖 Generated with Claude Code