Journey of a complex gem upgrade
summary
Shows how a Rails-sized dependency upgrade moves from months to manageable work by using a dual-boot Gemfile via SHOPIFY_NEXT to run two versions, a custom minitest reporter that masks known failures but fails when they reappear so CI only flags new breakage, and a deprecation_toolkit gem that records and enforces a whitelist of existing deprecations. Work gets parallelized by component ownership, and rollout uses a percentage-based datacenter deployment with call‑stack profiling to catch regressions before global release.
AI-written summary · about
chapters (18)
- 0:00Intro
- 3:46How to upgrade a gem
- 7:22Shopify
- 8:42Upgrading Rails
- 9:41Preparing for dual booting
- 10:20Resolving dependencies
- 11:02Fixing issues
- 12:36New tools
- 12:54CI
- 13:22Concrete example
- 14:23Minitest reporters
- 18:28Help from others
- 18:50Work force
- 19:47Componentization
- 23:18Deprecation
- 24:42Deprecation Toolkit
- 26:19Summary
- 28:01Stop the bleeding
related talks
29mUpgrading Rails at Scale
36mFrom massive pull requests to trunk-based development with Ruby
34mShitlist-driven development and other tricks for working on large codebases
34mShitlist-driven development and other tricks for working on large codebases
27mFinding Beauty in the Mundane
37mDon't touch that!
29mFaster Bundler, Happier Developers
38mTesting the Multiverse
