docs: describe Molecule running in the molecule-controller image

The ci image's labels and doc, the consumer lists, the Molecule rules in
.gitea/workflows/AGENTS.md and the accepted risk on pin bumps in SECURITY.md said Molecule
runs in the ci image. They now name the molecule-controller image, its pin files and which
pin files select scenarios.

Closes #431

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-29 19:25:33 +00:00
1 parent 89bd579e87
commit 4db1a2b3c9
8 files changed
+44 -38

No files matched your search

+12 -9
View File
@@ -113,13 +113,16 @@ reduction. A later decision that accepts a risk adds an entry here.
### Pin bumps first behaviour-tested after they merge
- **Risk:** Lint, Build and Molecule install a pull request's pins when they differ from the
image, so a pull request that changes an image input is tested on its own pins. But most pin
bumps select no Molecule scenario: every Python pin except an ansible-core minor bump, which
edits `meta/runtime.yml`. Such a bump is first behaviour-tested after it has merged, by the
pull request that moves the workflows to the new `ci` image.
- **Why accepted:** that pull request runs every scenario before the new image is used,
and running every scenario on every Python pin bump would cost about 10 minutes each.
- **Trigger:** the pull request that moves the workflows to a new `ci` image fails Molecule
because of a bumped pin.
- **Risk:** Lint, Build and Molecule install a pull request's pins when they differ from their
image, and a change to `requirements-molecule.*`, `requirements.yml` or
`extensions/molecule/requirements.yml` selects every Molecule scenario, so Molecule's own tools
and collections are tested before they merge. A change to the `molecule-controller` Dockerfile
(its base image, uv or Python) selects none, because `images/` is on the selector's IGNORED
list; it is first behaviour-tested after it has merged, by the pull request that moves
`molecule.yml` to the new `molecule-controller` version. `requirements-dev.*` pins only Lint's
and Build's tools, which no scenario runs.
- **Why accepted:** that pull request runs every scenario before the new image is used, and the
Dockerfile's self-checks fail the build on `main` before any pin moves.
- **Trigger:** the pull request that moves `molecule.yml` to a new `molecule-controller` image
fails Molecule because of a changed image input.
- **Planned reduction:** none for now.