Skip to content

Add Ruby code graph support - #38

Merged
andrew merged 2 commits into
mainfrom
ruby-graph
Sep 22, 2026
Merged

andrew merged 2 commits into
mainfrom
ruby-graph

Conversation

@andrew

@andrew andrew commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Adds Ruby call and load facts to the code graph introduced in #34.

Ruby call edges retain receiver kind, arguments, byte spans, and dispatch form. Same-file resolution distinguishes instance and singleton methods, resolves explicit local constants conservatively, and preserves unresolved calls as external targets.

Literal require variants produce loads edges; dynamic forms remain unresolved calls. Build includes gemspecs and extensionless Ruby executables in bin/, while Pack behavior is unchanged.

@andrew
andrew added this pull request to stack #39 September 16, 2026 17:53
Base automatically changed from graph to main September 22, 2026 07:21
Only extensionless files are read for shebang sniffing, so files with
unsupported extensions skip the read again. Dispatch gets a named type
matching ReceiverKind.
@andrew
andrew merged commit f53b112 into main Sep 22, 2026
7 checks passed
@andrew
andrew deleted the ruby-graph branch September 22, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant