-
Notifications
You must be signed in to change notification settings - Fork 2.6k
trace_path returns empty trace for client-side functions calling third-party member expressions (v0.9.0) #1091
Copy link
Copy link
Open
Labels
awaiting-reporterWaiting on the reporter for info/repro; stale bot will warn then closeWaiting on the reporter for info/repro; stale bot will warn then closebugSomething isn't workingSomething isn't workingeditor/integrationEditor compatibility and CLI integrationEditor compatibility and CLI integrationparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.stability/performanceServer crashes, OOM, hangs, high CPU/memoryServer crashes, OOM, hangs, high CPU/memorywindowsWindows-specific issuesWindows-specific issues
Milestone
Description
Metadata
Metadata
Assignees
Labels
awaiting-reporterWaiting on the reporter for info/repro; stale bot will warn then closeWaiting on the reporter for info/repro; stale bot will warn then closebugSomething isn't workingSomething isn't workingeditor/integrationEditor compatibility and CLI integrationEditor compatibility and CLI integrationparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.stability/performanceServer crashes, OOM, hangs, high CPU/memoryServer crashes, OOM, hangs, high CPU/memorywindowsWindows-specific issuesWindows-specific issues
Summary
trace_pathreturns an empty trace (no hops) for client-side Next.js/React functions whose downstream calls are third-party member expressions (e.g.supabase.auth.signInWithPassword(...)). Bothcallsandcross_servicemodes return only the header object with no path data.Environment
cliand via MCP stdioRepro
Actual
{"function":"...handleSubmit","direction":"downstream"}No hops, no empty-array fields, no diagnostic. Same result with
--mode cross_service --depth 4.Expected
Either resolved hops for member-expression calls into imported client objects, or an explicit empty result (
"hops": []) plus a hint (e.g. "no CALLS edges recorded for this node") so agents can distinguish "no callees" from "resolution gap".Notes / related minor issues
trace_pathis excellent (5handleSubmitmatches -> suggestions list). The gap is only edge resolution for third-party member calls.search_graphname matching also surfaces markdownSectionnodes (433 matches for pattern "GET", mostly from docs .md files) — a--labelsfilter default excluding Sections would reduce noise for agents.index_repositoryrun crashed one worker (exit code 1) and succeeded on retry; log hinted at a deprecatedcli index_repositoryinvocation registered by the installer's own hook.Happy to provide logs or run debug builds.