Rails

@rails

Ruby on Rails โ€” Shopify, Basecamp, GitHub all run on it

Pick a date

The Wire ยท Showcase

RAILS FIXES FROZEN CACHE BUGS IN RACTORIZED APPS, SOLID QUEUE CATCHES UP

By RepoJournal ยท Filed ยท About Rails

Rails shipped fixes for FrozenErrors that break ractorized applications when caches freeze with the app, while Solid Queue patched a breaking change in ActiveJob's shutdown protocol.

Rails merged a critical fix [1] for FrozenErrors that occur when Rails.application.ractorize! is called, which recursively freezes Rails.cache and triggers LocalCache initialization failures. The same PR exposed a separate bug in Rails' error reporter that lazily initializes during exception handling on frozen objects [2]. In parallel, Rails shipped a memcache optimization [3] that batches cache writes using dalli's set_multi method, reducing roundtrips when available. On the queue adapter front, Solid Queue [4] patched a signature mismatch with Rails' new checkpoint protocol. Rails commit 6d1c401dc7 started passing the running job instance to queue_adapter.stopping?, which broke Solid Queue's method signature and threw ArgumentError. The Solid Queue fix accepts the optional argument while maintaining backward compatibility with the existing shutdown flag logic.

Action items

References

  1. [1] Fix some FrozenErrors for ractorized application โ†— rails/rails
  2. [2] Merge pull request #58061 from Shopify/hm-zsroumltylqypmvm rails/rails
  3. [3] Merge pull request #58066 from ilianah/memcache-store-write-multi rails/rails
  4. [4] Accept optional job argument in stopping? โ†— rails/solid_queue

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • โ€ข14 famous open source orgs
  • โ€ขOne wire per day
  • โ€ขPublic, generic
  • โ€ขRead on the web, when you remember

Your wire

  • โ†’Up to 1,500 of your repos - orgs, deps, vendors
  • โ†’Morning and evening briefs
  • โ†’Action items routed to your team
  • โ†’Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.