Skip to content

fix: include class instantiations in callers#355

Open
bohe76 wants to merge 1 commit into
colbymchenry:mainfrom
bohe76:fix-class-instantiation-callers
Open

fix: include class instantiations in callers#355
bohe76 wants to merge 1 commit into
colbymchenry:mainfrom
bohe76:fix-class-instantiation-callers

Conversation

@bohe76
Copy link
Copy Markdown

@bohe76 bohe76 commented May 23, 2026

Summary

  • Include instantiates edges in caller traversal so class usages through construction/static class access are surfaced by getCallers, CLI callers, and MCP callers.
  • Add a regression test that verifies a class instantiation is returned as a caller.

Validation

pm run build

px vitest run tests/graph.test.ts --minWorkers=1 --maxWorkers=1 --testTimeout=30000 --hookTimeout=30000 --no-file-parallelism

ode dist\bin\codegraph.js callers CodeGraph --path . --json now includes ryInitializeDefault and
etryInitIfNeeded class usage results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant