Repository navigation
fix: read import aliases from relationships - #1540
Merged
Shashankss1205 merged 1 commit intoAug 2, 2026
Merged
Shashankss1205 merged 1 commit into
Shashankss1205 merged 1 commit into
Conversation
|
@C0deRatoR is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
Shashankss1205
approved these changes
Aug 2, 2026
Shashankss1205
left a comment
Collaborator
There was a problem hiding this comment.
Verified locally: trial-merged onto main with #1539 and #1541 — full suite green (1063 passed, 7 skipped).
Correct fix for #1515, and good catch extending it to cpp_toolkit.py — that was the second call site of the same root cause (I'd noted it as item 3 of #1533, which this also closes). The alias is written to the IMPORTS relationship at writer.py:580/597, never to the Module node, so i.alias is right in both places.
The test asserting "module.alias" not in query is a nice touch — it prevents a regression sneaking back in via either query. Thanks!
This was referenced Aug 2, 2026
Shashankss1205
added a commit
that referenced
this pull request
Aug 2, 2026
Bug-fix release. Since 0.5.4 on PyPI: - fix(indexer): record non-code files on the SCIP path so `cgc index` stops reporting a partial index forever (#1565, #1566) - fix(parsers): capture PHP imports rather than trait uses (#1522, #1563) - fix(parsers): recover Python annotated parameters — 40.3% of parameters were being dropped — and Go grouped imports (#1520, #1521, #1561) - fix(graph): always sanitize bundle filenames (#1517, #1541) - fix(cli/mcp): read import aliases from the IMPORTS relationship (#1515, #1540) - fix(cli/mcp): fall back to JSON when GCF encoding fails (#1518, #1539) Co-authored-by: Claude Fable 5 <[email protected]>
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
Fixes #1515.
Also addresses item 3 of #1533.
Testing