mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 04:36:40 +00:00
probe_did_inner_build() in scripts/tests/environment/utils/cache.sh hardcoded the compose network as `infinito-nexus_default`. Compose derives the network name from the project name, which defaults to the host CWD basename — `infinito-nexus` locally, `infinito-nexus-core` in the CI fork, something else again in Act runners and worktrees. CI therefore failed the test-environment matrix on every distro with `network infinito-nexus_default not found` even though the cache stack itself was healthy. Look up the network the running `infinito-package-cache-frontend` container is actually attached to via `docker inspect` and use that. Fail loudly if discovery returns empty rather than silently skipping the probe. Verified via `make act-workflow ACT_WORKFLOW=.github/workflows/test-environment.yml ACT_JOB=test-environment ACT_MATRIX='dev_runtime_image:debian:bookworm'` — Job succeeded, probe step reports `[OK] DiD inner-build flowed through cache frontend`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>