Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_sync_dataloss_regression

Tests reference — tests/knowledge_graph/test_sync_dataloss_regression.py

Module of tests/knowledge_graph, split out because the directory page would be too large.

Prose pending.

tests/knowledge_graph/test_sync_dataloss_regression.py

source · 7 tests · 451 lines

Regression tests for GraphSyncer data-loss bugs (code review 2026-06-18).

Covers: knowledge_graph.sync

Kind Name Line Description
function test_incremental_sync_preserves_other_modules 94
function test_incremental_sync_replaces_target_module_entities 115
function test_clear_project_removes_classes_and_functions 140
function test_clear_project_preserves_the_project_hub_and_its_non_derived_edges 154 The hub, and everything hanging off it that the sync does not rebuild,
function test_clear_project_leaves_non_derived_children_alone 207 A non-derived node reachable by CONTAINS must survive.
function test_full_sync_edges_params_requirements_and_queries 286
function test_multi_project_class_function_isolation 362 Two projects sharing an identical qualified_name must stay distinct.