Now that Molecule runs in the molecule-controller image (#431, #433), a few places still describe or rely on the old setup:
requirements.yml's header comment says the ci image bakes the collections "for Lint and Molecule". Molecule now uses the molecule-controller image.
scripts/run_molecule_in_ci_image.sh is named after the ci image, but it runs in the molecule-controller image.
The ci image still installs molecule and its Docker driver. Whatever Lint does not use there is dead weight, and it rebuilds the ci image on every molecule bump.
The ufw role's check-mode probes (tasks/install.yml, tasks/orphan_rules.yml, tasks/sysctl.yml) rely on a command task reporting skipped in check mode, which a future ansible-core release may change.
scripts/next_image_version.py treats any 404 on the first tags/list page as "no tags". Only the OCI NAME_UNKNOWN error means that.
Acceptance criteria
The requirements.yml comment names the molecule-controller image for Molecule.
The run script has a name that matches the image it runs in, and every reference to it is updated (workflow, tests, docs).
The ci image installs molecule only if a Lint check needs it, and a comment says which check. Otherwise molecule is removed from the ci image and its pins.
Either the ufw probes no longer depend on check-mode skipped, or the risk is shown to be unfounded from ansible-core's own sources. The pull request states which.
next_image_version.py returns no tags only for a 404 with NAME_UNKNOWN, and its tests cover both cases.
Unit tests and pre-commit run --all-files pass, and Molecule passes in CI.
Assisted-by: Claude Code
Part of #419
### Problem
Now that Molecule runs in the molecule-controller image (#431, #433), a few places still describe or rely on the old setup:
1. `requirements.yml`'s header comment says the ci image bakes the collections "for Lint and Molecule". Molecule now uses the molecule-controller image.
2. `scripts/run_molecule_in_ci_image.sh` is named after the ci image, but it runs in the molecule-controller image.
3. The ci image still installs molecule and its Docker driver. Whatever Lint does not use there is dead weight, and it rebuilds the ci image on every molecule bump.
4. The ufw role's check-mode probes (`tasks/install.yml`, `tasks/orphan_rules.yml`, `tasks/sysctl.yml`) rely on a `command` task reporting `skipped` in check mode, which a future ansible-core release may change.
5. `scripts/next_image_version.py` treats any 404 on the first tags/list page as "no tags". Only the OCI `NAME_UNKNOWN` error means that.
### Acceptance criteria
- [ ] The `requirements.yml` comment names the molecule-controller image for Molecule.
- [ ] The run script has a name that matches the image it runs in, and every reference to it is updated (workflow, tests, docs).
- [ ] The ci image installs molecule only if a Lint check needs it, and a comment says which check. Otherwise molecule is removed from the ci image and its pins.
- [ ] Either the ufw probes no longer depend on check-mode `skipped`, or the risk is shown to be unfounded from ansible-core's own sources. The pull request states which.
- [ ] `next_image_version.py` returns no tags only for a 404 with `NAME_UNKNOWN`, and its tests cover both cases.
- [ ] Unit tests and `pre-commit run --all-files` pass, and Molecule passes in CI.
Assisted-by: Claude Code
Claude
added this to the CI velocity (emergency) milestone 2026-12-02 08:18:00 +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.
Part of #419
Problem
Now that Molecule runs in the molecule-controller image (#431, #433), a few places still describe or rely on the old setup:
requirements.yml's header comment says the ci image bakes the collections "for Lint and Molecule". Molecule now uses the molecule-controller image.scripts/run_molecule_in_ci_image.shis named after the ci image, but it runs in the molecule-controller image.tasks/install.yml,tasks/orphan_rules.yml,tasks/sysctl.yml) rely on acommandtask reportingskippedin check mode, which a future ansible-core release may change.scripts/next_image_version.pytreats any 404 on the first tags/list page as "no tags". Only the OCINAME_UNKNOWNerror means that.Acceptance criteria
requirements.ymlcomment names the molecule-controller image for Molecule.skipped, or the risk is shown to be unfounded from ansible-core's own sources. The pull request states which.next_image_version.pyreturns no tags only for a 404 withNAME_UNKNOWN, and its tests cover both cases.pre-commit run --all-filespass, and Molecule passes in CI.Assisted-by: Claude Code