~/talk

Upgrading GitHub to Ruby 2.7

Talkat RubyConf 2020 · 2020-11-17..11-19· [ruby-on-rails, ruby]
slides:none on file

GitHub upgrades from Ruby 2.6 to 2.7 by fixing over 11k+ warnings, patching 15+ gems, upgrading 30+ gems, and replacing abandoned libraries; a custom monkey patch for Warning records full stack traces and emits machine-friendly artifacts; a raise_on_warnings mode fails CI on new deprecations; teams use dual-booting via ruby-next to test both versions, fan out issues by code owner, and deploy incrementally (2% → 20% → 100%), gaining ~20s boot and ~112k fewer boot-time allocations.

AI-written summary · about

  1. 0:00Start
  2. 3:54Why was this Ruby upgrade hard?
  3. 4:29Running GitHub Deprecation Free
  4. 5:52DEPRECATION: Separation of positional and keyword arguments
  5. 10:54DEPRECATION: URI method deprecations
  6. 12:54UPGRADING: Dual-booting our application
  7. 14:04UPGRADING: Monkey patch Warning module
  8. 17:48UPGRADING: Fixing warnings in gems
  9. 19:05Replace abandoned gems
  10. 19:43Preventing regressions
  11. 20:10Our Deploy Process
  12. 20:47DEPLOYING: Make smaller change sets
  13. 21:26DEPLOYING: Testing on staging
  14. 22:06DEPLOYING: Slow & incremental rollout
  15. 24:05DEPLOYING: Strive for boring deploys
  16. 24:28Features Worth Upgrading For
  17. 26:09FEATURE: IRB Improvements
  18. 26:45FEATURE: Manual GC Compaction
  19. 27:20Making Ruby (Even) Better
  20. 27:42If you don't like how Ruby works, change it.
  21. 28:30UPSTREAM FIX: Warning categories
  22. 29:58Nothing makes an upgrade harder than waiting
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.