state-hub/tests
tegwick 075b34945f feat(consistency): fix-consistency-remote works without REPO for all repos
Adds --remote CLI flag and fix_all_remote() function. When run without a
REPO argument, the target checks all registered repos and:
- Skips repos whose local path does not exist on this machine
- Skips repos that are already clean (no fixable issues, no FAILs, not
  behind remote, only C-08 background noise allowed)
- For repos that need work: git pull --ff-only then fix_repo()

Prints a summary of CLEAN (skipped) and NOT ON THIS HOST (skipped) repos
before the detailed fix reports.

Simplifies the Makefile target from shell-level curl+git to a single
uv run call using --remote. Same flag handles both single-repo and all-repos.

Also adds _git_pull() helper and 13 new tests (71 total in consistency suite).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 14:38:30 +01:00
..
__init__.py feat(state-hub): integrate llm-connect as dependency (S3.1) 2026-02-27 08:32:17 +01:00
conftest.py feat(tests): pytest-asyncio test suite — 119 tests across 3 modules 2026-03-18 12:00:06 +01:00
test_capability_requests.py feat(capability-requests): add routing_note, PATCH endpoint, word-boundary fix, and ops-bridge tunnel targets 2026-03-20 03:47:54 +01:00
test_consistency_check.py feat(consistency): fix-consistency-remote works without REPO for all repos 2026-03-26 14:38:30 +01:00
test_ingest_sbom.py feat(sbom): CUST-WP-0013 — expand SBOM infra to terraform, ansible, and tool manifests 2026-03-12 04:40:26 +01:00
test_llm_connect_integration.py feat(state-hub): integrate llm-connect as dependency (S3.1) 2026-02-27 08:32:17 +01:00
test_mcp_smoke.py feat(tests): pytest-asyncio test suite — 119 tests across 3 modules 2026-03-18 12:00:06 +01:00
test_routers_core.py feat(tests): pytest-asyncio test suite — 119 tests across 3 modules 2026-03-18 12:00:06 +01:00
test_routers_td_ep_contrib.py feat(tests): pytest-asyncio test suite — 119 tests across 3 modules 2026-03-18 12:00:06 +01:00