mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
DinD DNS chain reworked so the Playwright container run --rm npm install no longer EAI_AGAINs on registry.npmjs.org: - 03_start_swarm_nodes.sh runs each DinD with --dns 1.1.1.1/8.8.8.8 and pre-seeds /etc/docker/daemon.json. systemd-resolved still clobbers the outer resolv.conf at boot, so the daemon-level DNS is the only thing that survives for containers the inner daemon spawns. - daemon.json.j2 omits the "dns" key when networks.internet.dns is empty (default), so the rendered config no longer overwrites the pre-seeded daemon.json with "dns": [""] and break inner-container resolution. - 09_write_extras.sh sets networks.internet.dns to a public resolver for the test rig and bakes RUNTIME via cli.meta.runtime (so e2e-playwright actually runs in act/github instead of being skipped under "host"). 07_provision_inventory.sh generates mirrors.yml via cli.contributing.mirror.resolver and passes --mirror to the inventory provisioner only when cli.meta.runtime == "github". act/local keeps upstream pulls (no mirror infrastructure to point at). 12_wait_converge.sh and 15_assert_state.sh accept any N/N replica state instead of hardcoded 1/1, so multi-host-replica deploys converge cleanly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Test Utilities 🧪
This directory holds the operational side of testing in Infinito.Nexus.
These assets are meant to support confidence, not ceremony. They help the project validate real-world behavior across local development, CI environments, and deployment-oriented smoke tests. The emphasis is on practical feedback: when something breaks, the surrounding test tooling should make the failure easier to understand, easier to reproduce, and easier to clean up. 🚀
Good changes in this area usually make the test experience more:
- repeatable
- diagnosable
- environment-aware
- safe to rerun
The ideal outcome is boring reliability: contributors should be able to trust that a test run says something meaningful about the system, not just about the machine that happened to execute it. ✅