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 update leaves an unchanged importer on the unresolved-import placeholder after the imported file is added #5631
I have checked the Troubleshooting section in the README
What happened?
When a file is added that an unchanged file already imports, an incremental rebuild (graphify update, the git hook, watch) leaves the importer on the placeholder it got while the import was unresolved. A full build of the same tree links it to the new file and draws the imports / calls edges.
Seen in Python, TypeScript and Go. The importer is not re-extracted, so nothing re-resolves its import.
Steps to reproduce
mkdir p &&cd p
printf'from a import f\n\ndef g():\n return f()\n'> b.py
graphify update .printf'def f():\n return 1\n'> a.py
graphify update .
Then compare with a fresh graphify update . of the same tree.
Error output or graph output
only in full build: b -> a_f imports
only in full build: b_g -> a_f calls
TypeScript (n.ts: import { m } from './m', then add m.ts): the update keeps n -> ref_m; the full build has n -> m, n -> m_m and n_n -> m_m (calls).
Go (main.go imports ex/p, then add p/p.go): the update keeps main -> go_pkg_ex_p; the full build has main -> p_p and main_main -> p_p_p (calls).
Activity
github-actions commentedon Nov 29, 2026
Thanks for opening this issue, @0xkaushik-ai. 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.