From 29a66f46b070eb4c8d2ef30cb17a2b42f3e76246 Mon Sep 17 00:00:00 2001 From: Alexander Momchilov Date: Thu, 19 Mar 2026 15:12:20 -0400 Subject: [PATCH 1/2] Upgrade to Sorbet 0.6.13048 --- Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index d47d09ce7..d996d1051 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -366,15 +366,15 @@ GEM rack (>= 3.2.0) redis-client (>= 0.26.0) smart_properties (1.17.0) - sorbet (0.6.12997) - sorbet-static (= 0.6.12997) - sorbet-runtime (0.6.12997) - sorbet-static (0.6.12997-aarch64-linux) - sorbet-static (0.6.12997-universal-darwin) - sorbet-static (0.6.12997-x86_64-linux) - sorbet-static-and-runtime (0.6.12997) - sorbet (= 0.6.12997) - sorbet-runtime (= 0.6.12997) + sorbet (0.6.13048) + sorbet-static (= 0.6.13048) + sorbet-runtime (0.6.13048) + sorbet-static (0.6.13048-aarch64-linux) + sorbet-static (0.6.13048-universal-darwin) + sorbet-static (0.6.13048-x86_64-linux) + sorbet-static-and-runtime (0.6.13048) + sorbet (= 0.6.13048) + sorbet-runtime (= 0.6.13048) spoom (1.7.11) erubi (>= 1.10.0) prism (>= 0.28.0) From 8c8ef00d6d66dd2dbac04e81e70d452d29c22b9a Mon Sep 17 00:00:00 2001 From: Alexander Momchilov Date: Thu, 19 Mar 2026 15:12:38 -0400 Subject: [PATCH 2/2] Enable Prism mode in Sorbet and remove the optional CI step to typecheck with it, since the main CI now always uses Prism. --- .github/workflows/ci.yml | 3 --- sorbet/config | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a824fc663..c926d4c0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,6 @@ jobs: rubygems: 4.0.7 - name: Run type check run: bin/typecheck - - name: Run type check with Prism parser - run: bin/typecheck --parser=prism - continue-on-error: true - name: Lint Ruby files run: bin/style - name: Verify documentation diff --git a/sorbet/config b/sorbet/config index ccbd49ac0..78ca53612 100644 --- a/sorbet/config +++ b/sorbet/config @@ -1,5 +1,6 @@ --dir . +--parser=prism --ignore=/vendor --enable-experimental-requires-ancestor --enable-experimental-rbs-comments