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
GRAPHIFY_OUT nested path excludes every directory matching its basename from the scan (detect.py GRAPHIFY_OUT_NAME) #2273
and detect.py (~line 696) puts that bare name into the set of directory names excluded from the scan, to avoid re-ingesting the output as source (#524, #1423):
"graphify-out", GRAPHIFY_OUT_NAME, # never treat own output as source input
Because the exclude is matched by directory name anywhere in the tree rather than by the resolved output path, any source directory whose name equals the output dir's basename is silently dropped from the graph.
Impact
A canonical multi-scope layout that writes each scope to graphify-out/<scope>/ gives GRAPHIFY_OUT the basename <scope>. If the scanned tree contains a directory named <scope> (very common for a Python src-layout package, e.g. src/<ns>/<scope>/), that entire directory is excluded. The graph is missing the module's source with no error or warning.
Repro
A Python src-layout package where the source lives under src/.../<name>/, scanned with the output dir basename set to <name>:
Result, holding everything constant except the GRAPHIFY_OUT basename:
basename <name> (matches the module dir): 0 files under src/.../<name>/
basename xyz (no match): full coverage
Measured on a real package: GRAPHIFY_OUT basename nlp produced 0 files under src/revil/nexus/nlp/ (18,188 nodes); basename xyz produced 4,770 files under it (23,258 nodes). Deterministic across runs, same source, same command.
Suggested fix
Exclude the output directory by resolved path (e.g. skip paths under the actual GRAPHIFY_OUT directory) rather than by bare basename. The literal graphify-out name exclude is fine as a convenience, but deriving a global directory-name exclude from GRAPHIFY_OUT's basename over-matches real source directories.
Fixed in v0.9.32. A custom GRAPHIFY_OUT name no longer excludes every same-named directory in the tree; only the configured output path is pruned. Thanks.
Activity
vanjos commentedon Jul 29, 2026
Any read on this one? Happy to test a patch or share more detail if useful.
oleksii-tumanov commentedon Jul 31, 2026
Thanks for the detailed report. I opened #2335 with a focused fix.
chore: bump to 0.9.32; changelog for #2333/#2334/#2336/#2342/#2326/#2323
safishamsi commentedon Aug 1, 2026
Fixed in v0.9.32. A custom
GRAPHIFY_OUTname no longer excludes every same-named directory in the tree; only the configured output path is pruned. Thanks.chore: bump to 0.9.32; changelog for Graphify-Labs#2333/Graphify-Labs…
0.9.47+trifour.6: fix merge regressions, restore fork features, adapt…