127 wires and counting

$ follow Rails

Keep up with Rails in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-05-30
stories 7

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

RAILS KILLS DEADLOCK BUG IN BARE CONNECTIONS, PUSHES RACTOR SAFETY

By RepoJournal · Filed · About Rails · Composed from the cited sources · methodology

A fresh connection trying to check its database version was deadlocking against itself, and Shopify just shipped the fix.

Rails merged a critical fix for NullPool that was causing synchronization deadlocks [1] [2] [3]. The problem: when a bare connection (one using NullPool instead of ConnectionPool) queries server version on startup, it re-enters a Mutex-protected method that wasn't built for re-entrancy. A normal ConnectionPool uses a Monitor, which handles this gracefully, but NullPool's Mutex chokes. This is the kind of subtle bug that burns hours in production. Separately, Active Record is continuing its push toward Ractor safety [4] [5] by freezing and constantizing modules so they can be safely used in Ractorized contexts. This is table-stakes if you're running concurrent Ractors in your app. Documentation got a refresh with this week's TWIR [6] . Nothing earth-shaking here, but the connection deadlock fix is worth deploying immediately if you're using Rails with database connections that spin up fresh.

Quick answers

What shipped in Rails on May 30, 2026?
A fresh connection trying to check its database version was deadlocking against itself, and Shopify just shipped the fix. In total, 4 commits and 3 pull requests landed.
Who contributed to Rails on May 30, 2026?
3 developers shipped this update, including hmcguire-shopify, gmcgibbon, and morgoth.
What were the notable Rails updates?
Merge pull request #57506 from Shopify/hm-tnotxonttqlwlvyo, Fix NullPool#server_version deadlock, and Fix NullPool#server_version deadlock.