Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/mcp/tools/graph_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from src.core.di_container import ServiceCollection
from src.core.error_handler import error_boundary
from src.core.graph import EdgeType, NodeLabel, PropertyGraph
from src.core.indexing.project_indexer_registry import ProjectIndexerRegistry
from src.core.multi_project_searcher import MultiProjectSearcher
from src.mcp.tools.base import MCPTool

Expand Down
1 change: 0 additions & 1 deletion tests/test_database_lock_selfhealing.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
LockBusyError,
LockHolderState,
ProcessInspector,
WindowsProcessInspector,
)

DEAD_PID = 999_999_999
Expand Down
1 change: 1 addition & 0 deletions tests/test_graph_stage_e4.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
(доказывает отказ от тяжёлого векторного поиска ~3600ms).
"""
import asyncio

import pytest

from src.core.graph import PropertyGraph
Expand Down
8 changes: 4 additions & 4 deletions tests/test_symbol_index_persistence_e4.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
- test_hybrid_normal_save: HYBRID adapter пишет непустой symbol_index.json
- test_raw_symbol_index_save: сырой SymbolIndex пишет нормально
"""
import sys
import json
import sys
import tempfile
from pathlib import Path

sys.path.insert(0, str(Path(__file__).parent.parent))

from src.core.search.graph_adapter import SymbolIndexAdapter
from src.core.graph import PropertyGraph
from src.core.indexing.symbol_index import SymbolIndex
from src.core.indexing.index_guard import IndexGuard
from src.core.indexing.symbol_index import SymbolIndex
from src.core.search.graph_adapter import SymbolIndexAdapter


def _make_guard_and_pg():
Expand Down Expand Up @@ -84,7 +84,7 @@ def test_raw_symbol_index_save():
assert json_file.exists(), "Raw SymbolIndex ДОЛЖЕН писать JSON"
data = json.loads(json_file.read_text(encoding="utf-8"))
assert len(data.get("definitions", {})) == 1, "Raw SymbolIndex должен сохранить 1 def"
print(f"[PASS] test_raw_symbol_index_save — JSON с 1 def")
print("[PASS] test_raw_symbol_index_save — JSON с 1 def")


if __name__ == "__main__":
Expand Down
Loading