mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-12 13:47:01 +00:00
Roles that declare default_placement: manager in meta/services.yml are now auto-added to their own inventory group when the operator did not list them explicitly. Both the runtime constructor add_host loop and the CLI pre-flight inventory extender use the new roles_with_default_placement lookup so swarm and CLI-validation stay consistent. In compose-mode (no svc-docker-swarm-manager group), svc-prx-openresty auto-joins the first play host. run_once + ansible_play_hosts | first keeps that deterministic in multi-host compose deploys so the openresty vhost view does not fragment. The svc-cache-registry / svc-docker-registry entries previously hardcoded in scripts/tests/deploy/swarm/08_extend_inventory.sh fall out of the new dynamic loop; net inventory is unchanged. ansible_play_hosts joins the magic-var allowlist in test_variable_definitions so the constructor add_host passes integration lint. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Tests 🧪
All automated tests for Infinito.Nexus live here.
| Directory | Type | Guide |
|---|---|---|
unit/ |
Unit tests (isolated, no I/O) | unit.md |
integration/ |
Integration tests (real component boundaries) | integration.md |
external/ |
Opt-in live third-party checks, excluded from make test |
external.md |
e2e/ |
End-to-end Playwright tests | playwright.md |
regression/ |
Regression guard rules | regression.md |
lint/ |
Structural lint checks | lint.md |
Run each suite via the make targets documented in the linked guides.