The Wire · Showcase
RAILS FIXES TEST PARALLELIZATION LEAK, BOOTSNAP PATCHES CONFIG HIJACK
By RepoJournal · Filed · About Rails
Rails killed a hidden DRb thread that was preventing parallel test suites from exiting cleanly, while Bootsnap shipped an emergency fix for a config file that gets loaded by unrelated processes like Homebrew.
The parallel test infrastructure had a nasty leak: when you ran tests with `parallelize`, the parent process started a DRb service but never shut it down [1]. The accept-loop thread stayed alive after workers exited, blocking test process termination in some environments. That's fixed now [2]. In the same vein, PostgreSQL test connections were piling up in the nightly suite, hitting "too many clients" errors, so Rails also tightened connection cleanup for test-local adapters [3]. On the documentation front, Rails updated all the architecture diagrams for dark mode readability and added EPUB fallbacks for readers that don't render SVG properly [4]. Meanwhile, Bootsnap 1.24.5 shipped a critical fix: the config loader was reading `config/bootsnap.rb` even when invoked by unrelated processes like Homebrew, which doesn't have Bundler loaded and would fail [5]. Bootsnap now only loads the config file if explicitly directed to do so [6]. The Rails guides also got SQL example corrections [7]. The community survey is live on the website [8].
Action items
- → Upgrade Bootsnap to 1.24.5 immediately if running parallel processes or Homebrew in Rails project directories rails/bootsnap [immediate]
- → Pull latest Rails main to fix parallel test worker shutdown if you're hitting exit hangs rails/rails [plan]
- → Review dark mode display of your generated Rails app documentation rails/rails [monitor]
References
- [1] Fix #57401: Stop DRb service when shutting down parallel test workers ↗ rails/rails
- [2] Merge pull request #57427 from mugitti9/fix/57401-parallelization-drb-shutdown rails/rails
- [3] Disconnect test-local PostgreSQL adapters to prevent connection leak ↗ rails/rails
- [4] Updates diagrams for dark mode compatibility and add EPUB fallback for SVG images [Guides] ↗ rails/rails
- [5] Release 1.24.5 rails/bootsnap
- [6] Only load config file is directed to by `.setup` rails/bootsnap
- [7] Merge pull request #57445 from hammadxcm/docs/query-methods-sql-comment-fixes rails/rails
- [8] Twir 22.05.2026 (#667) rails/website
FAQ
- What changed in Rails on May 23, 2026?
- Rails killed a hidden DRb thread that was preventing parallel test suites from exiting cleanly, while Bootsnap shipped an emergency fix for a config file that gets loaded by unrelated processes like Homebrew.
- What should Rails teams do about it?
- Upgrade Bootsnap to 1.24.5 immediately if running parallel processes or Homebrew in Rails project directories • Pull latest Rails main to fix parallel test worker shutdown if you're hitting exit hangs • Review dark mode display of your generated Rails app documentation
- Which Rails repositories shipped on May 23, 2026?
- rails/rails, rails/bootsnap, rails/website