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
[Bug]: Incremental JS/TS extraction loses calls through unchanged re-exports #5595
Editing a TypeScript caller can remove its calls edge when it imports the callee through an unchanged barrel. A full extraction of the same files produces the edge.
Run graphify extract . --code-only --no-cluster. The graph contains a calls edge from task() to load() in store.ts.
Insert a comment on the first line of main.ts, then run the same command. The incremental output loses the call edge.
Run the extraction with --force. The edge returns with the new call-site line.
I expected the incremental output after step 2 to contain the same edge and source location as the full rebuild in step 3. I also reproduced this with export *, a chain of named and star re-exports, and a typed interface receiver imported through a barrel.
Tested on v8 at a7295bcaafb6ba003629dc7103178263d571f306 with Python 3.14.10 and macOS arm64. Related to #2230 and #2406, which track cross-file resolution during incremental builds.
Activity
github-actions commentedon Nov 28, 2026
Thanks for opening this issue, @rvitaliy. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(extract): preserve incremental calls through JS/TS barrels