Shopify has adopted and is scaling the use of Sorbet for static typing in its Ruby codebase. This involves addressing challenges with metaprogramming, ActiveSupport::Concern, and inclusion requirements. The team is also exploring the relationship between Sorbet, RBS, and Tapioca for generating type signatures. The focus is on gradual adoption, starting with `typed: false` files and moving towards `typed: true`, prioritizing frequently reused or error-prone files. Generated RBI files are checked.
All Shopify trails