Add repo-family metadata to Fabric registry
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s

This commit is contained in:
codex 2026-07-25 18:08:57 +02:00
parent 3240b78185
commit 0ea99a73d8
15 changed files with 189 additions and 32 deletions

View file

@ -375,6 +375,11 @@ def fabric_graph_explorer_payload(
"confidence": 1.0 if has_snapshot else 0.3,
"visualSize": 56 if has_snapshot else 42,
"ownership": "registry",
"repoFamily": str(repo.get("repo_family") or ""),
"ownershipRepo": str(repo.get("ownership_repo") or ""),
"primaryRail": str(repo.get("primary_rail") or ""),
"supportedRails": repo.get("supported_rails") if isinstance(repo.get("supported_rails"), list) else [],
"substrateKind": str(repo.get("substrate_kind") or ""),
"displayState": "show",
"visibilitySource": "default",
"visibilityReason": "default",