You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
callers/node silently truncate at default --limit 20 (no "…N more" indicator) #1674
codegraph callers <sym> and codegraph node <sym> cap the caller list at the default --limit 20 with no indication the result was truncated — the header shows the displayed count, never "…N more". impact (uncapped) and node's callee trail (+N more) don't have this; the callers list and the JSON / MCP output do.
Repro (a high-fan-in symbol, e.g. a widely-used hook):
The output/header gives no hint that 154 were dropped.
Expected: when truncated, print something like …154 more (raise --limit), or don't cap silently.
Impact: consumers under-count and trust the result → wrong "who calls this / is this dead code?" conclusions. It's especially harmful when an AI agent drives the tool over MCP, since the tool output inherits the cap with no truncation signal.
Same symptom as #1639. #1647 makes callers / callees / query report the cut (shown of total, plus total/limit/truncated in the callers/callees JSON), and its latest commit adds the same "showing N of M; pass limit to widen" note to the codegraph_callers / codegraph_callees MCP answers. node's caller trail already prints +N more on 1.6.0.
Activity
fix(mcp): say when callers/callees answers are cut at the limit (colb…
danusha2345 commentedon Sep 4, 2026
Same symptom as #1639. #1647 makes
callers/callees/queryreport the cut (shown of total, plustotal/limit/truncatedin the callers/callees JSON), and its latest commit adds the same "showing N of M; passlimitto widen" note to thecodegraph_callers/codegraph_calleesMCP answers.node's caller trail already prints+N moreon 1.6.0.colbymchenry commentedon Sep 8, 2026
Fixed in #1772 — lands the verified #1647 changes onto current
main(that PR was conflicted after #1771).callers/callees: header showsN of M+ widening hint; JSON addstotal/limit/truncatedquery: truncation notice (stderr for--json)codegraph_callers/codegraph_callees:Showing N of M/… +N morecodegraph nodealready reported+N moreon its caller trail; no change neededVerified fail→pass on Linux with
__tests__/mcp-callers-truncation.test.tsand__tests__/cli-truncation.test.ts.fix: report callers/callees/query truncation (#1674) (#1772)
fix(cli): group callers/callees/impact by definition (#1512) (#1801)