Compare commits

...
3 Commits
Author SHA1 Message Date
emilandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> b2dd2229f1 fix: use --no-cache for ansible-galaxy to prevent concurrent cache corruption
CI / validate (pull_request) Successful in 1m58s
CI / auto-merge (pull_request) Successful in 18s
When 6 molecule runners install ansible-galaxy collections concurrently,
they share the same response cache, causing:
  Missing expected 'results' in ansible-galaxy cache
  This may indicate cache corruption (from concurrent ansible-galaxy runs)

Adding --no-cache bypasses the shared cache entirely, preventing the
race condition.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-05 18:59:29 +00:00
emil e6be27f75f chore: remove vale styles 2026-08-05 18:59:29 +00:00
emilandDevin <158243242+devin-ai-integration[bot]@users.noreply.github.com> 6b5cd18efb fix: unique molecule container names per CI runner
When multiple molecule matrix runners share the same Docker host,
they conflict on the container name "ubuntu-2604" (409 Conflict
from Docker). This appends the MATRIX_INDEX as a suffix (e.g.
ubuntu-2604-r3) so each runner gets a unique container name.

Closes DEVX-148

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-08-05 18:59:29 +00:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def _install_ansible_collections(bin_dir: str) -> None:
if not requirements.exists():
click.echo(" ansible/requirements.yml not found — skipping collections.")
return
_run([galaxy, "collection", "install", "-r", str(requirements)])
_run([galaxy, "collection", "install", "-r", str(requirements), "--no-cache"])
def _configure_tea_login() -> None:
+2
View File
@@ -108,6 +108,8 @@ class TestInstallAnsibleCollections:
mock_path.return_value.__str__ = lambda _: str(req)
_install_ansible_collections(".venv/bin")
mock_run.assert_called_once()
args = mock_run.call_args[0][0]
assert "--no-cache" in args, "ansible-galaxy must use --no-cache to avoid concurrent cache corruption"
@patch("devx.tools.setup._run")
def test_skips_when_no_requirements(self, mock_run: MagicMock) -> None: