feat: add generic affected and re-export support - #740
Closed
TheFedaikin wants to merge 3 commits into
Closed
Conversation
Contributor
Author
|
@safishamsi fixed all of the tests and conflicts on my branch so it's easier to merge. |
Contributor
Author
|
closed in favor of #953 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a graph-level foundation for more reliable cross-language impact traversal:
graphify affectedCLI overgraph.json.Why
Large codebases often route symbols through barrels, package entrypoints, aliases, or repeated file names. Without resolving those edges to the original symbol, query and impact output is noisy or incomplete.
This PR improves that without changing storage.
What Changed
index.*,.svelte.ts, tsconfig aliases, and workspace package imports.re_exportsedges withcontext="export".__init__.pypackage re-exports to the original symbol.callsedges for imported bindings when usage is import-aware.graphify affected <node-or-label>with--relation,--depth, and--graph.Related
Related to #569 and the broader source-resolution/import-noise issues around large workspaces and ambiguous traversal.
Test Plan