-
Notifications
You must be signed in to change notification settings - Fork 137
search_graph file_pattern always returns 0 results #200
Copy link
Copy link
Open
Description
Bug
search_graph with file_pattern parameter always returns 0 results, regardless of the pattern used.
Version: 0.5.7
Reproduction:
codebase-memory-mcp cli search_graph '{"project":"my-project","name_pattern":"evaluate","file_pattern":"offer-server"}'
# Returns: 0 results
codebase-memory-mcp cli search_graph '{"project":"my-project","name_pattern":"evaluate"}'
# Returns: correct results (functions that exist in offer-server/)
Workaround: Using query_graph with Cypher WHERE n.file_path CONTAINS 'offer-server' works correctly and returns the expected nodes. The data is in the graph — just not reachable via file_pattern.
Expected: file_pattern should filter results to nodes whose file_path contains the given substring.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels