LearnNewsExamplesServices
Frontmatter
id9711
title[Unit Tests] Verify queryNodeTopology and query_hybrid_graph
stateClosed
labels
enhancementaitesting
assigneestobiu
createdAtApr 4, 2026, 11:33 PM
updatedAtApr 4, 2026, 11:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/9711
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 4, 2026, 11:35 PM

[Unit Tests] Verify queryNodeTopology and query_hybrid_graph

Closedenhancementaitesting
tobiu
tobiu commented on Apr 4, 2026, 11:33 PM

This ticket tracks adding unit tests in test/playwright/unit/ai/mcp/server/memory-core/services/GraphService.spec.mjs to systematically verify:

  1. GraphService.queryNodeTopology(nodeId, maxDepth) correctly traverses up to the maximum depth requested.
  2. Ensure the returned format accurately bridges the graph extraction format required by memory-core endpoints.
  3. Validate node traversal paths respect cyclic references without infinite loops natively.
tobiu added the enhancement label on Apr 4, 2026, 11:33 PM
tobiu added the ai label on Apr 4, 2026, 11:33 PM
tobiu added the testing label on Apr 4, 2026, 11:33 PM
tobiu assigned to @tobiu on Apr 4, 2026, 11:33 PM
tobiu referenced in commit 94004a9 - "test: Implement deep BFS topology extraction and add tests (#9711)" on Apr 4, 2026, 11:35 PM
tobiu
tobiu Apr 4, 2026, 11:35 PM

Implemented maxDepth traversal in GraphService and verified with Playwright tests locally.

tobiu closed this issue on Apr 4, 2026, 11:35 PM