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
Bash extractor: a sourced file's . "$ROOT/lib/x.sh" gets no edge when ROOT is set by the script that loads it #5563
This is common in bash: an entry script sets ROOT once, and every library it loads uses it.
Graphify resolves $ROOT in bin/tool, where it is set, but not in lib/alpha.sh, so lib/alpha.sh gets no edge to lib/beta.sh and its calls into it are lost.
Reproduced on graphifyy 0.9.122 (newest on PyPI), installed with pip, nothing patched, Python 3.12, Ubuntu.
When a file loads $VAR/x without setting VAR, use the value VAR has in the files that load it (directly or through other loaded files).
If no loader sets it, keep today's behaviour.
Related: #2079 and #2172 (the ${VAR} source resolution within one file).
Activity
github-actions commentedon Nov 28, 2026
Thanks for opening this issue, @yashsaxena. 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(bash): capture variable base snapshots at each source site
chore(schema): document bash/GHA/python/symlink extraction changes un…
fix(bash): resolve caller-defined variable bases in sourced scripts (G…