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
Incremental update drops Python imports and calls that go through an unchanged package __init__.py #5676
On v8 at d249de36 (0.9.124), an incremental rebuild drops every import and call that the edited Python file makes through an unchanged package __init__.py. This happens with graphify update, the watcher and the git hooks, and the edges come back only after a full rebuild. On django, adding a comment to tests/admin_views/tests.py loses 690 of the file's 1121 import and call edges.
Python re-export facts come only from an __init__.py that is in the parsed batch. #5595 gave JS/TS barrels export facts from unchanged files, but Python has no equivalent. So from lib import f stops at lib/__init__.py and never reaches lib/a.py. Related: #2406 and #3570.
Activity
github-actions commentedon Dec 1, 2026
Thanks for opening this issue, @Max17190. 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.