ServiceMap: update dependencies and backend/app (+5 areas)

Public changes compared with the previous published export:
16 files changed.

Affected areas:
- backend/app: 3 files
- dependencies: 5 files
- deployment and CI: 2 files
- documentation: 2 files
- frontend/src: 1 file
- project files: 1 file
- tests: 2 files

Changed files:
- Updated: ".env.example"
- Updated: "Dockerfile.unraid"
- Updated: "README.md"
- Updated: "backend/app/incidents.py"
- Updated: "backend/app/main.py"
- Updated: "backend/app/store.py"
- Updated: "backend/pyproject.toml"
- Updated: "backend/tests/test_docker_provider.py"
- Updated: "backend/tests/test_v163_health_performance.py"
- Updated: "docker-compose.broker.yml"
- Updated: "docs/ARCHITECTURE.md"
- Updated: "frontend/package-lock.json"
- Updated: "frontend/package.json"
- Updated: "frontend/src/App.tsx"
- Updated: "package-lock.json"
- Updated: "package.json"

Export provenance/manifests refreshed; excluded from the change summary.

Publish curated ServiceMap source from 8c297f756ff84aaa917ae9c48535e835f8c09ec7
This commit is contained in:
NuklearRabbit committed 2026-11-20 16:01:36 +01:00
1 parent d4c351ce73
commit 41a8eee259
18 files changed
+167 -92

No files matched your search

@@ -353,12 +353,35 @@ def test_topology_request_budget_at_300_services(tmp_path: Path, monkeypatch) ->
return original()
monkeypatch.setattr(store, "_connect", counting_connect)
evidence_reads = 0
read_evidence = store.health_evidence_for_services
def counting_evidence(service_ids, **kwargs):
nonlocal evidence_reads
evidence_reads += 1
return read_evidence(service_ids, **kwargs)
monkeypatch.setattr(store, "health_evidence_for_services", counting_evidence)
topology_reads = 0
list_services = store.list_services
def counting_services():
nonlocal topology_reads
topology_reads += 1
return list_services()
monkeypatch.setattr(store, "list_services", counting_services)
client = TestClient(main_module.app)
budget_ms = os.environ.get("SERVICEMAP_API_P95_BUDGET_MS")
for endpoint in ("/api/v1/topology/semantic", "/api/v1/overview"):
connections = 0
evidence_reads = 0
topology_reads = 0
main_module.semantic_cache.clear()
assert client.get(endpoint).status_code == 200
assert evidence_reads == 1, (endpoint, evidence_reads)
assert topology_reads == 1, (endpoint, topology_reads)
assert connections <= 30, (endpoint, connections)
elapsed_ms = []
for _ in range(20):