Skip to content

Migrate type inferrer to use Rubydex#4014

Merged
vinistock merged 1 commit intorubydex_adoption_feature_branchfrom
03-18-migrate_type_inferrer
Mar 20, 2026
Merged

Migrate type inferrer to use Rubydex#4014
vinistock merged 1 commit intorubydex_adoption_feature_branchfrom
03-18-migrate_type_inferrer

Conversation

@vinistock
Copy link
Member

Motivation

We need the type inferrer to operate on the Rubydex graph instead of the old index. Otherwise, we can't migrate requests properly.

Implementation

Changed the inferrer to accept a graph and made all of the changes to maintain the existing behaviour.

Automated Tests

I had to skip a hover test while our RBS indexer doesn't handle methods. I'll use [RUBYDEX] in all skips so that we can easily find them later.

@vinistock vinistock self-assigned this Mar 18, 2026
@vinistock vinistock requested a review from a team as a code owner March 18, 2026 15:21
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Mar 18, 2026
@vinistock vinistock force-pushed the 03-05-switch_singleton_class_names_to_new_style branch from e50b099 to abf5c41 Compare March 18, 2026 17:16
@vinistock vinistock force-pushed the 03-18-migrate_type_inferrer branch from 5b864a5 to cd9f1e7 Compare March 18, 2026 17:16
Base automatically changed from 03-05-switch_singleton_class_names_to_new_style to rubydex_adoption_feature_branch March 19, 2026 13:46
@vinistock vinistock mentioned this pull request Mar 19, 2026
20 tasks
@vinistock vinistock merged commit c60b8df into rubydex_adoption_feature_branch Mar 20, 2026
41 checks passed
@vinistock vinistock deleted the 03-18-migrate_type_inferrer branch March 20, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants