Files
WrenAI/core
Jax Liu e53bdb652c test(context-loader): cover a seed that is an edge source but not a node
The differential suite compared declared nodes and ids absent from the graph
entirely, which conflates two different things: an id with no node and no edges,
and an id with no node but with outgoing edges. Only the second makes it
observable whether the traversal short-circuits on an undeclared seed.

It matters because short-circuiting there looks like an obvious improvement —
the documented behaviour for an unknown seed is an empty result — but the
framework's traversal follows the edges instead, so the two would silently stop
agreeing. Without this case the whole suite stays green while that happens.
2026-09-07 16:24:14 +08:00
..