1
0

feat: code quality audit + autoresearch integration + infra hardening (#150)

This commit is contained in:
Alexander Whitestone
2026-03-08 12:50:44 -04:00
committed by GitHub
parent fd0ede0d51
commit ae3bb1cc21
186 changed files with 5129 additions and 3289 deletions

View File

@@ -25,7 +25,7 @@ COMPOSE_TEST = PROJECT_ROOT / "docker-compose.test.yml"
pytestmark = pytest.mark.skipif(
subprocess.run(["which", "docker"], capture_output=True).returncode != 0
or subprocess.run(["which", "docker-compose"], capture_output=True).returncode != 0,
reason="Docker or docker-compose not installed"
reason="Docker or docker-compose not installed",
)
@@ -188,9 +188,7 @@ class TestDockerAgentSwarm:
resp = httpx.get(f"{docker_stack}/swarm/agents", timeout=10)
agents = resp.json()["agents"]
# Should have at least the 3 agents we started (plus possibly Timmy and auto-spawned ones)
worker_count = sum(
1 for a in agents if "Worker" in a["name"] or "TestWorker" in a["name"]
)
worker_count = sum(1 for a in agents if "Worker" in a["name"] or "TestWorker" in a["name"])
assert worker_count >= 1 # At least some registered
_compose("--profile", "agents", "down", timeout=30)