Collapse duplicate repository graph nodes

This commit is contained in:
2026-05-21 01:04:22 +02:00
parent a8e67db9e9
commit 072fa8f7a7
3 changed files with 103 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
---
id: ADHOC-2026-05-21
type: workplan
title: "Ad Hoc Fixes 2026-05-21"
domain: railiance
repo: railiance-fabric
status: finished
owner: codex
topic_slug: railiance
created: "2026-05-21"
updated: "2026-05-21"
state_hub_workstream_id: "c5126722-3b6c-4a6a-b687-bc2ebfce5d58"
---
# ADHOC-2026-05-21 - Ad Hoc Fixes
## Collapse Duplicate Repository Icons
```task
id: ADHOC-2026-05-21-T01
status: done
priority: medium
state_hub_task_id: "8af02b06-b9a4-457a-bbdc-fa97543944a4"
```
After projecting all discovery candidates into the local registry graph, the
graph explorer rendered each repository twice: once as the canonical registry
repository node and once as the discovered `Repository` candidate node.
The graph explorer now collapses discovered `Repository` nodes into the
canonical `repo:<slug>` node and rewires source graph edges to that canonical
node, preserving relationships without duplicate repo icons.
Verification:
- `python3 -m pytest tests/test_graph_explorer.py -q` passed.
- `python3 -m pytest` passed with 34 tests.
- Restarted the local registry and confirmed the graph explorer export now has
35 repository nodes instead of 69.