Repository navigation
tests/tools: Smoke suite plan selects a changed test module, its importers and the tree guards (Part of #6278) - #6857
Merged
Conversation
…importers and the tree guards (Part of #6278, item 5) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Oct 28, 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.
Part of #6278
Checklist: partial [c:cc68bcd4] -- test-module PRs now select; engine-module selection (nightly per-test coverage map) is not done
What
suite_select_plan.py(the Smokesuite-planjob) gains one moreselectclass: a PR whose changed files are docs, agent config and/or test modules (tests/**/test_*.py). It runs the changed module, every test module that imports it by bare name (e.g.test_cics_runtimes), andTREE_GUARDS(the six tests that scan the whole tests/ tree for a repo rule). Any othertests/file (conftest, fixtures, data, helpers) or any engine file is stillfull. The workflow already wiresselect; no YAML change. Push, nightly and dispatch stay full.Replay (last 50 merged PRs,
--replay 50)select 3 -> 4 PRs (6% -> 8%); skip 0; full 46. Small: most PRs touch the engine, which this slice does not map.
Class / Sibling gaps
Class: changed files the suite can map to the tests that reach them. Handled: prose (skip), test-read docs / agent config (readers), test modules (self + importers + guards). Sibling gaps: engine modules (
gitgalaxy/**) -> a static import graph misses subprocess / galaxyscope-driven tests, so it needs a nightly per-test coverage map;tests/tools/<helper>.pyis already mapped only for the docs path, not as a code change; conftest / fixtures / data undertests/stay full. Remaining slices: coverage-map generator + planner consumer (2-3 files).Gates
test_suite_select_plan.py32 pass; pre-PR tree guards pass; pr_gates --fast 9/9 pass.🤖 Generated with Claude Code