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

@Morriar Morriar force-pushed the at-rubydex-bootstrap branch 2 times, most recently from 2f75610 to 722d240 Compare May 5, 2026 15:58
@Morriar Morriar force-pushed the at-rubydex-payload branch 2 times, most recently from 4da3e75 to 05bd763 Compare May 5, 2026 18:59
@Morriar Morriar force-pushed the at-rubydex-bootstrap branch from 722d240 to 241a2da Compare May 6, 2026 14:26
@Morriar Morriar force-pushed the at-rubydex-payload branch from 05bd763 to d771ba3 Compare May 6, 2026 14:26
@Morriar Morriar force-pushed the at-rubydex-bootstrap branch from 241a2da to f24d943 Compare May 6, 2026 14:58
@Morriar Morriar force-pushed the at-rubydex-payload branch from d771ba3 to b868efc Compare May 6, 2026 14:59
@Morriar Morriar force-pushed the at-rubydex-bootstrap branch from f24d943 to 3649e0b Compare May 6, 2026 18:18
@Morriar Morriar force-pushed the at-rubydex-payload branch from b868efc to f74bd6b Compare May 6, 2026 18:18
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.

3 participants