Repository navigation
suite_select_plan: .github/workflows/*.yml select the tests that name them (Part of #6278, item 5, slice 10) - #7051
Merged
Conversation
… the workflows directory or the file (Part of #6278, item 5, slice 10) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
9 tasks done
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 #6278 (item 5, slice 10): the Smoke suite plan selects tests for
.github/workflows/*.ymlinstead of running the whole suite.Checklist: partial [c:cc68bcd4] --
<case>/case.jsondata, non-Pythontests/toolsfiles, golden-master snapshots, other.github/files and the unmapped runtime Java files still planfull.What changed
suite_select_plan.py:is_workflow_file/workflow_targets. A workflow file runs the tests that name theworkflowsdirectory,.github, or the file by name or stem (direct only), plusTREE_GUARDS; overHELPER_MAXisfull.test_suite_select_plan.py: the mapping in a tmp tree,selectthroughplan, and that subdirectories, scripts and other.github/files stayfull(the old workflow pin now usesdependabot.yml).docs/ci.md: the paragraph.Measured
150 newest merged PRs: 9 touch
.github/workflows/; 7 flip full -> select (#7029, #7003, #6968, #6927, #6897, #6893, #6888); the other 2 carryci/requirements/pytest.inor thepr_check.pyhelper (named by over 120 tests). A workflow-only PR plans 94 test files (smoke-test.yml). The replay has no coverage map locally, so engine PRs are unchanged here.What it skips: tests that read a workflow only through a helper that names
workflows(a closure through them is 677 files). The nightly full run is unchanged and is the net.Facts checked: 88 test files name
workflowsorgithubdirectly;pr_gates --fast9/9; the time ratchet reports 0 over / 0 warned; tree-guard tests pass (353).Class / Sibling gaps
Class: non-Python files a PR changes beside engine work that force the whole suite. Handled here:
.github/workflows/*.yml(slice 10), after slices 8-9 (baseline / ledger JSON, sweep and case records). Sibling gaps:tests/equivalence/<case>/case.jsonand<case>.json(about 30 of 150 recent PRs; every case-enumerating test reads them, needs the per-case map), C / SQL fixtures (cics/ggcics*.c,db2/), other.github/files and workflow subfiles,tests/toolsnon-Python files anddoom_speedrun/,tests/golden_master_auditsnapshots, 36 runtime Java files,pr_check.py/callgraph_oracle.py/shepherd_gh.py(named by over 120 tests).Remaining slices: case.json mapping (needs the map), golden-master snapshot mapping, tests/tools non-Python files, then the runner-min re-measure.
🤖 Generated with Claude Code