mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 02:00:46 +08:00
Fix topology truncate false positives and reduce graph/discover load.
Batch ManagedNE lookups, correct project-neighbors truncation/frozen signals, page discover polls, and delete both nodes and edges when multi-selected. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
03ef9eb39a
commit
2aafb72676
7 changed files with 186 additions and 25 deletions
|
|
@ -705,6 +705,14 @@ class FabricTopologyTests(unittest.TestCase):
|
|||
self.assertIn(nodes[2].id, ids2)
|
||||
self.assertNotIn(nodes[3].id, ids2)
|
||||
|
||||
# Peers already on canvas must not raise a false truncated banner.
|
||||
g3 = svc.project_fabric_neighbors_to_view(
|
||||
self.db,
|
||||
view2.id,
|
||||
ViewProjectNeighborsRequest(seed_fabric_node_ids=[nodes[0].id]),
|
||||
)
|
||||
self.assertFalse(g3.truncated)
|
||||
|
||||
pop = svc.populate_view(
|
||||
self.db,
|
||||
view.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue