mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 02:15:44 +00:00
fix(javascript): include response carriers in endpoint traces
Include request and response endpoint carriers in the shared semantic query seed matcher so traces retain resolved response consumers, source identities, and incomplete coverage. Validated with 44 domain tests, compiled CLI/MCP parity, full static/architecture checks, and current-head automated review/CI. Fixes #4213.
This commit is contained in:
1 parent
9d940c2f28
commit
ab13a1c67a
3 files changed
+147
-2
No files matched your search
@@ -85,7 +85,10 @@ const seedMatches = (
|
||||
if (seed.kind === "property")
|
||||
return node.kind === "property-slot" && node.properties.name === seed.name;
|
||||
if (seed.kind === "endpoint")
|
||||
return node.kind === "request" && node.properties.endpoint === seed.value;
|
||||
return (
|
||||
(node.kind === "request" || node.kind === "response") &&
|
||||
node.properties.endpoint === seed.value
|
||||
);
|
||||
if (seed.kind === "event")
|
||||
return (
|
||||
["event", "listener"].includes(node.kind) &&
|
||||
|
||||
Reference in new issue
Block a user