Ruby on Rails: Squashing the Sneaky Bugs
Today we're diving into two important bug fixes that just landed in Rails - one tackling flaky tests in transaction instrumentation and another fixing a subtle fiber isolation issue in Action Controller Live. Both PRs show the Rails team's commitment to stability and reliability, with great contributions from flavorjones and tavianator.
Duration: PT3M49S
Episode overview
This episode is a short developer briefing from Ruby on Rails.
It explains recent repository work in plain language.
- Show: Ruby on Rails
- Published: 2026-03-01T11:16:24Z
- Audio duration: PT3M49S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Hey Rails developers! Welcome back to another episode of Ruby on Rails. I'm your host, and it's March 1st, 2026. Grab your favorite morning beverage because we're diving into some really satisfying bug fixes that just landed in the Rails codebase.
You know what I love about today's changes? They're the kind of fixes that make me appreciate the Rails community's attention to detail. We're not talking about flashy new features today - we're talking about the unglamorous but absolutely critical work of making Rails more reliable and stable.
Let's start with our first merged pull request from flavorjones. Now, if you've ever dealt with flaky tests, you know how frustrating they can be. You run your test suite, everything passes, then you run it again and suddenly you've got a failure. It's like that friend who shows up late sometimes but you never know…
Well, flavorjones tackled exactly this problem in the transaction instrumentation tests. The issue was in a test called `test_sql_events_do_not_overlap_with_savepoints` - quite a mouthful, right? This test was expecting exactly 6 SQL events but sometimes it was seeing 7. The problem? The test was subscribing…
The fix is beautifully…
Our…