Skip to content
Merged
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
7 changes: 5 additions & 2 deletions tests/test_issue231_async_handler_edges.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,11 @@ def _query_graph_edges(workspace, target_node_id=None, source_contains=None):
conditions = []
params = []
if target_node_id is not None:
conditions.append("target_id = ?")
params.append(target_node_id)
# backend.json node ids use the OS-native separator (backslash on
# Windows); graph_edges stores target_id with forward slashes.
# Normalize both sides so the match is cross-platform (issue #268).
conditions.append("REPLACE(target_id, '\\', '/') = ?")
params.append(target_node_id.replace("\\", "/"))
if source_contains is not None:
conditions.append("source_id LIKE ?")
params.append(f"%{source_contains}%")
Expand Down
Loading