A file under extensions/molecule/<name>/ ran every Molecule scenario, although only that image-smoke scenario reads it: the image-smoke scenarios test the images, not the roles. scripts/select_molecule_scenarios.py now selects that scenario only.
Still running everything:
a shared file such as extensions/molecule/requirements.yml;
a path under extensions/molecule/ whose directory is not a scenario (for example a deleted one).
A pull request that changes an image-smoke scenario and a role selects both. The notice line now reads roles changed: … instead of only roles changed: …, since image-smoke scenarios can appear in the same line.
No changelog fragment: CI only, nothing a consumer sees.
Verified
python3 -m unittest discover -s tests/scripts: 230 tests pass, including new cases for a single image-smoke change and one combined with a role change, and the repository-wide test now expects each image-smoke file to select its own scenario.
The commit-stage pre-commit hooks pass; ansible-test sanity ran on push.
Not verified
This pull request is judged by main's copy of the selector, so it runs every scenario itself. The narrower selection takes effect on the next pull request after the merge.
I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.
Assisted-by: Claude Code:claude-opus-5-5
## What and why
A file under `extensions/molecule/<name>/` ran every Molecule scenario, although only that image-smoke scenario reads it: the image-smoke scenarios test the images, not the roles. `scripts/select_molecule_scenarios.py` now selects that scenario only.
Still running everything:
- a shared file such as `extensions/molecule/requirements.yml`;
- a path under `extensions/molecule/` whose directory is not a scenario (for example a deleted one).
A pull request that changes an image-smoke scenario and a role selects both. The notice line now reads `roles changed: …` instead of `only roles changed: …`, since image-smoke scenarios can appear in the same line.
No changelog fragment: CI only, nothing a consumer sees.
## Verified
- `python3 -m unittest discover -s tests/scripts`: 230 tests pass, including new cases for a single image-smoke change and one combined with a role change, and the repository-wide test now expects each image-smoke file to select its own scenario.
- The commit-stage pre-commit hooks pass; `ansible-test sanity` ran on push.
## Not verified
- This pull request is judged by `main`'s copy of the selector, so it runs every scenario itself. The narrower selection takes effect on the next pull request after the merge.
---
- [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none.
Assisted-by: Claude Code:claude-opus-5-5
A file under extensions/molecule/<name>/ ran every scenario, although
only that image-smoke scenario reads it: they test the images, not the
roles. It now selects that scenario only. A shared file such as
extensions/molecule/requirements.yml, or a name that is not a scenario,
still runs everything.
Assisted-by: Claude Code:claude-opus-5-5
CODEOWNERS rules
requested review from Defame1297 2026-11-22 21:16:12 +00:00
Defame1297
scheduled this pull request to auto merge when all checks succeed 2026-11-22 21:17:55 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
A file under
extensions/molecule/<name>/ran every Molecule scenario, although only that image-smoke scenario reads it: the image-smoke scenarios test the images, not the roles.scripts/select_molecule_scenarios.pynow selects that scenario only.Still running everything:
extensions/molecule/requirements.yml;extensions/molecule/whose directory is not a scenario (for example a deleted one).A pull request that changes an image-smoke scenario and a role selects both. The notice line now reads
roles changed: …instead ofonly roles changed: …, since image-smoke scenarios can appear in the same line.No changelog fragment: CI only, nothing a consumer sees.
Verified
python3 -m unittest discover -s tests/scripts: 230 tests pass, including new cases for a single image-smoke change and one combined with a role change, and the repository-wide test now expects each image-smoke file to select its own scenario.ansible-test sanityran on push.Not verified
main's copy of the selector, so it runs every scenario itself. The narrower selection takes effect on the next pull request after the merge.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code:claude-opus-5-5