state-hub/tests
tegwick 619fb72a78 perf(api): CUST-WP-0041 — DB indexes, TTL caches, noload on list endpoints
- Migration t7o8p9q0r1s2: indexes on tasks.status, tasks(workstream_id,status),
  workstreams.status, sbom_snapshots(repo_id,snapshot_at)
- workplan-index: 30 s TTL cache + ?refresh param (4171 ms → 16 ms on hit)
- /state/summary: 15 s TTL cache, bypassed on Cache-Control: no-cache
- /topics/: noload(workstreams, decisions, progress_events) (2382 ms → 115 ms)
- /domains/: noload(topics, repos, goals) (2252 ms → 39 ms)
- /repos/: noload(goals) (2222 ms → 599 ms first / fast on repeat)
- conftest: reset TTL caches between tests to prevent bleed-through

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 11:12:17 +02:00
..
__init__.py feat(state-hub): integrate llm-connect as dependency (S3.1) 2026-02-27 08:32:17 +01:00
conftest.py perf(api): CUST-WP-0041 — DB indexes, TTL caches, noload on list endpoints 2026-05-15 11:12:17 +02: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 Implemented Ad-Hoc Task handling 2026-05-01 21:27:52 +02:00
test_doi_scope_health.py scope refactoring 2026-05-01 01:47:14 +02: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_repo_sync.py feat(consistency): T04 push seal — closed-loop writeback for automated commits 2026-04-21 01:43:40 +02:00
test_routers_core.py Overview shows workstreams by repo now and allows drilldown 2026-05-02 12:01:45 +02:00
test_routers_td_ep_contrib.py fix(api): normalize trailing slashes — no slash on param routes 2026-04-26 15:13:01 +02:00
test_task_flow_engine.py Implemented foundation of task-flow-engine 2026-05-01 22:19:03 +02:00
test_token_events.py feat(dashboard): entity list UX — REF column, name cells, detail pages (CUST-WP-0030) 2026-03-29 22:35:35 +02:00
test_token_passthrough.py feat(token-tracking): introduce token note taxonomy (measured/userbased/workplan/heuristic) 2026-03-29 18:47:40 +02:00