A pull request ran every Molecule scenario whenever it changed scripts/select_molecule_scenarios.py, and that happened every time a new file was added to its IGNORED list. The Molecule workflow runs the base branch's copy of the selector, so no scenario ever runs the pull request's copy: running everything tested nothing about the change.
IGNORED now also lists:
scripts/select_molecule_scenarios.py: its unit tests cover it, and the push run after the merge runs every scenario;
*/AGENTS.md: the nested agent guidance, which replaces the roles/AGENTS.md entry;
roles/*/README.md: a role's documentation, which used to select that role and its users;
.python-version and scripts/lock-requirements.sh: Molecule uses the runner's own venv.
galaxy.yml, meta/runtime.yml, requirements.yml, .gitea/workflows/molecule.yml and extensions/molecule/* still run every scenario.
No changelog fragment: CI only, nothing a consumer sees.
Verified
python3 -m unittest discover -s tests/scripts: 228 tests pass, including new cases for the newly ignored paths.
The commit-stage pre-commit hooks pass; ansible-test sanity ran on push.
Not verified
This pull request is still 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
Closes #
A pull request ran every Molecule scenario whenever it changed `scripts/select_molecule_scenarios.py`, and that happened every time a new file was added to its `IGNORED` list. The Molecule workflow runs the base branch's copy of the selector, so no scenario ever runs the pull request's copy: running everything tested nothing about the change.
`IGNORED` now also lists:
- `scripts/select_molecule_scenarios.py`: its unit tests cover it, and the push run after the merge runs every scenario;
- `*/AGENTS.md`: the nested agent guidance, which replaces the `roles/AGENTS.md` entry;
- `roles/*/README.md`: a role's documentation, which used to select that role and its users;
- `.python-version` and `scripts/lock-requirements.sh`: Molecule uses the runner's own venv.
`galaxy.yml`, `meta/runtime.yml`, `requirements.yml`, `.gitea/workflows/molecule.yml` and `extensions/molecule/*` still run every scenario.
No changelog fragment: CI only, nothing a consumer sees.
## Verified
- `python3 -m unittest discover -s tests/scripts`: 228 tests pass, including new cases for the newly ignored paths.
- The commit-stage pre-commit hooks pass; `ansible-test sanity` ran on push.
## Not verified
- This pull request is still 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 pull request ran every scenario when it changed the selector itself,
which happened whenever a new file was added to its IGNORED list.
Molecule runs the base branch's copy, so the pull request's copy is
never exercised by a scenario. Ignore it, nested AGENTS.md files, role
READMEs, .python-version and scripts/lock-requirements.sh.
Assisted-by: Claude Code:claude-opus-5-5
CODEOWNERS rules
requested review from Defame1297 2026-11-22 20:11:36 +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
Closes #
A pull request ran every Molecule scenario whenever it changed
scripts/select_molecule_scenarios.py, and that happened every time a new file was added to itsIGNOREDlist. The Molecule workflow runs the base branch's copy of the selector, so no scenario ever runs the pull request's copy: running everything tested nothing about the change.IGNOREDnow also lists:scripts/select_molecule_scenarios.py: its unit tests cover it, and the push run after the merge runs every scenario;*/AGENTS.md: the nested agent guidance, which replaces theroles/AGENTS.mdentry;roles/*/README.md: a role's documentation, which used to select that role and its users;.python-versionandscripts/lock-requirements.sh: Molecule uses the runner's own venv.galaxy.yml,meta/runtime.yml,requirements.yml,.gitea/workflows/molecule.ymlandextensions/molecule/*still run every scenario.No changelog fragment: CI only, nothing a consumer sees.
Verified
python3 -m unittest discover -s tests/scripts: 228 tests pass, including new cases for the newly ignored paths.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