Skip to content

fix(viz): use filename instead of <module> for top-level script nodes - #1702

Closed
AloysJehwin wants to merge 2 commits into
CodeGraphContext:mainfrom
AloysJehwin:fix/visualizer-module-label-dedup
Closed

AloysJehwin wants to merge 2 commits into
CodeGraphContext:mainfrom
AloysJehwin:fix/visualizer-module-label-dedup

Conversation

@AloysJehwin

Copy link
Copy Markdown
Contributor

Fixes #1681.

Top-level module nodes were all labeled <module>, making multiple files indistinguishable in the call graph visualizer. When the node name is <module>, the label now uses the file basename instead, giving each file a unique, readable identifier in the graph.


Note: The CI failures (Build Test 3.12/3.13/3.14, db-parity, e2e) are pre-existing failures on the main branch unrelated to this change. Specifically:

  • test_elisp_parser.py::test_parse_elisp_normalized_output — KeyError: 'sample-callback' fails on main (run 33686444387)
  • test_verify_databases_parity.py::test_database_parity_e2e — ladybugdb exit code -11 (SIGSEGV in ladybug library) fails on main (run 33686444386)
  • e2e tests — same ladybugdb crash fails on main (run 33686444388)

This PR is a re-submission of #1688 which was closed due to these pre-existing CI failures.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

@AloysJehwin 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

Copy link
Copy Markdown
Collaborator

Same situation as #1701: this resubmits the closed #1688, whose underlying issue (#1681) was fixed by #1682 and released in 0.6.9. The diff now conflicts with the shipped solution. Closing — please pick up something open instead; happy to point you at good candidates on Discord.

@github-project-automation github-project-automation Bot moved this from Backlog tasks to Done in CGC Progress Board Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug/UI] Visualizer displays duplicate "<module>" labels instead of source filenames for top-level code

2 participants