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:
JNTMTMTM
2026-10-16 11:11:36 -06:00
committed by GitHub
parent 9d940c2f28
commit ab13a1c67a
3 changed files with 147 additions and 2 deletions
@@ -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) &&