Repository navigation
Closed
Description
Summary
30 tests are failing due to pre-existing issues (not related to snake_case migration #611). These failures exist on the main branch as well.
Categories of Failures
1. Sibling Ordering Issues (likely before_sibling_id related) - See #614
test_reorder_siblingstest_sibling_chain_orderingtest_get_children_ordered_with_multiple_insertionstest_get_child_at_index_out_of_boundstest_move_child_to_index_beyond_sibling_count
2. Markdown/Export Tests (depend on ordering)
test_get_markdown_simpletest_get_markdown_max_depthtest_get_markdown_preserves_hierarchytest_bullet_roundtriptest_roundtrip_import_exporttest_update_root_from_markdown_complex_structure
3. Mentions/Container Tests
mentioning_containers_tests::basic_backlinksmentioning_containers_tests::deduplicationmentioning_containers_tests::task_exceptionmentioning_containers_tests::mixed_containerstest_prevent_root_level_self_reference
4. Version Tracking Tests
test_auto_created_date_nodes_get_versiontest_new_nodes_get_schema_versiontest_nodes_with_existing_version_not_modified
5. Container/Task Filter Tests
container_task_filter_tests::basic_filtercontainer_task_filter_tests::content_contains_with_filtercontainer_task_filter_tests::mentioned_by_with_filter
6. Search/Embeddings Tests
test_search_with_similar_nodestest_search_with_threshold_filtertest_search_with_real_nlp_embeddings
7. Properties/OCC Tests
test_property_update_increments_versiontest_update_nodes_batch_with_propertiestest_persisted_date_takes_precedence_over_virtual
8. MCP Tools Tests
test_all_expected_tools_presenttest_tools_list_returns_all_schemas
9. Flaky Performance Test
test_atomic_operations_performance(passes when run alone, fails in suite)
Root Causes
Many of these failures likely stem from:
- Complete before_sibling_id removal - use has_child edge ordering #614 -
before_sibling_idremoval incomplete (affects ordering tests) - Query result parsing issues with SurrealDB Thing types
- Properties not being stored for non-spoke types (
date,text)
Acceptance Criteria
- Identify root cause for each category
- Fix or update tests as appropriate
- All tests pass
Test Results
- Main branch: 503 passed, 34 failed
- After Standardize database schema to snake_case - fix serialization inconsistency #611 fixes: 507 passed, 30 failed (net improvement of 4)
Activity
WIP: Fix mentioning_containers_tests - add root_id field to mentions …
Fix remaining test failures from graph-native architecture migration (#…
Fix remaining test failures from graph-native architecture migration (#…
Refactor tree loading to use efficient adjacency list strategy (#632)
Fix remaining test failures from graph-native architecture migration (#…
Refactor tree loading to use efficient adjacency list strategy (#632)
Fix remaining test failures from graph-native architecture migration (#…
Refactor tree loading to use efficient adjacency list strategy (#632)
Fix remaining test failures from graph-native architecture migration (#…
Refactor tree loading to use efficient adjacency list strategy (#632)