#463 switched the scenarios to the community.docker.docker_api connection. Measured, it made Molecule slower, not faster:
Run
Connection
Molecule job
ufw
traefik
6363
docker CLI
35 min 0 s
1273 s
1027 s
6429
docker_api
45 min 19 s
2166 s
1337 s
6447 (on main)
docker_api
49 min 23 s
2266 s
1378 s
Across the 358 tasks that appear in both profile recaps, the same task took a median 13% longer on docker_api. Container creation, which uses no connection, was not slower, so runner load does not explain it. Other runs overlapped only the last 10 minutes of 6447.
This removes the ansible_connection override and restores the two comments that described the CLI connection. The fixed ansible_python_interpreter from the same change stays. #462 (removing the CLI mount) is closed as not needed.
Verified
pre-commit run --all-files passes, and ansible-test sanity passed on push.
Apart from the kept connection_options block with the interpreter, the diff against the commit before #463 (b5a5a4e) is empty for these files.
Not verified
The wall-clock effect: this PR's Molecule run should come back near 35 minutes. The fixed interpreter on its own is expected to save only a few seconds per scenario.
I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.
Assisted-by: Claude Code
## What and why
Refs #455
#463 switched the scenarios to the `community.docker.docker_api` connection. Measured, it made Molecule slower, not faster:
| Run | Connection | Molecule job | `ufw` | `traefik` |
|---|---|---|---|---|
| 6363 | docker CLI | 35 min 0 s | 1273 s | 1027 s |
| 6429 | `docker_api` | 45 min 19 s | 2166 s | 1337 s |
| 6447 (on `main`) | `docker_api` | 49 min 23 s | 2266 s | 1378 s |
Across the 358 tasks that appear in both profile recaps, the same task took a median 13% longer on `docker_api`. Container creation, which uses no connection, was not slower, so runner load does not explain it. Other runs overlapped only the last 10 minutes of 6447.
This removes the `ansible_connection` override and restores the two comments that described the CLI connection. The fixed `ansible_python_interpreter` from the same change stays. #462 (removing the CLI mount) is closed as not needed.
## Verified
- `pre-commit run --all-files` passes, and `ansible-test sanity` passed on push.
- Apart from the kept `connection_options` block with the interpreter, the diff against the commit before #463 (`b5a5a4e`) is empty for these files.
## Not verified
- The wall-clock effect: this PR's Molecule run should come back near 35 minutes. The fixed interpreter on its own is expected to save only a few seconds per scenario.
---
- [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none.
Assisted-by: Claude Code
Claude
added this to the CI velocity (emergency) milestone 2026-11-28 19:14:36 +00:00
Two full runs on the docker_api connection took 45 and 49 minutes against 35 on the
CLI connection, with the same tasks a median 13% slower. The fixed Python interpreter
from the same change stays.
Refs #455
Assisted-by: Claude Code
CODEOWNERS rules
requested review from Defame1297 2026-11-28 19:14:37 +00:00
Defame1297
scheduled this pull request to auto merge when all checks succeed 2026-11-28 19:17:10 +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
Refs #455
#463 switched the scenarios to the
community.docker.docker_apiconnection. Measured, it made Molecule slower, not faster:ufwtraefikdocker_apimain)docker_apiAcross the 358 tasks that appear in both profile recaps, the same task took a median 13% longer on
docker_api. Container creation, which uses no connection, was not slower, so runner load does not explain it. Other runs overlapped only the last 10 minutes of 6447.This removes the
ansible_connectionoverride and restores the two comments that described the CLI connection. The fixedansible_python_interpreterfrom the same change stays. #462 (removing the CLI mount) is closed as not needed.Verified
pre-commit run --all-filespasses, andansible-test sanitypassed on push.connection_optionsblock with the interpreter, the diff against the commit before #463 (b5a5a4e) is empty for these files.Not verified
NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code