Skip to content

Use Rubydex graph for constants_from_requested_paths#2608

Open
Morriar wants to merge 1 commit intoat-rubydex-bootstrapfrom
at-rubydex-payload
Open

Use Rubydex graph for constants_from_requested_paths#2608
Morriar wants to merge 1 commit intoat-rubydex-bootstrapfrom
at-rubydex-payload

Conversation

@Morriar
Copy link
Copy Markdown
Contributor

@Morriar Morriar commented Apr 23, 2026

Summary

Extracted from #2524. Instead of shelling out to Sorbet to get the symbol table for requested paths, we use the Rubydex graph which is already available and faster.

  • Replace symbols_from_paths (Sorbet shell-out) with graph_from_paths (Rubydex) in constants_from_requested_paths
  • Remove the now-unused symbols_from_paths method from SymbolLoader

@Morriar Morriar requested a review from a team as a code owner April 23, 2026 07:33
@Morriar Morriar force-pushed the at-rubydex-payload branch from e11a3ff to 5fa9e45 Compare April 23, 2026 07:45
@Morriar Morriar added the chore label Apr 23, 2026
Copy link
Copy Markdown
Member

@vinistock vinistock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there's some engine filtering that's failing, but I think it's related to the base branch and not this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants