Rubyweekly iconRubyweeklySep 10, 2026 ~6 min source read

Shopify replaces slow tests with Rubydex structural linter to check its Ruby monolith in under a minute

Rubydex linter lets teams write cross-file, project-level structural rules. Shopify used it to convert long-running tests into 20+ rules that validate the whole codebase quickly.

Shopify's structural linter for Ruby codebases

Share this story

Send the public story page.

Useful takeaways from this story.

Rubydex linter performs structural, cross-file checks that single-file linters cannot, e.g., preventing conflicting mixins across inheritance chains.

Shopify replaced many long-running tests with 20+ Rubydex rules and can now lint its monolith in under a minute.

Structural linting is suited for large codebases where architectural constraints span multiple files and inheritance or indirect inclusion makes single-file checks insufficient.

The useful part

Some highlights: ▶️ Matz's "Meet Spinel" keynote – It's in Japanese, but the English subtitles are good. ▶️ Twenty Years of JRuby – Charles Nutter's keynote on two decades of keeping Ruby thriving on the JVM. ▶️ Surviving Black Friday: 329 Billion Requests with Falcon – Falcon's author Samuel Williams and fellow Shopify engineers on running the Falcon high-performance web server at scale.

How it works

  • — We scan every image, runtime, and K8s workload for CVEs, prioritize by CISA KEV, and manage your risk.
  • Framework — Grape can run on Rack or be pulled into existing Rails or Sinatra apps, say, and provides a DSL specifically to build RESTful APIs.
  • 🤖 RubyLLM 2.0.0 RC2 – Here's some of what's coming for the popular LLM / AI framework, including resumable agents and better support for non-text modalities like OCR, video-gen and TTS.
  • Now you can check out an example comparing three Ruby libraries (shown above) or create your own.
  • However, v3.0 breaks current Rails releases so pin json < 3 for now.

What to take from it

Converting a Block Interface to start / stop Methods with a Fiber — You might reach for a thread to handle this problem, but fibers can get you there with less plumbing and overhead. Per-Test Attribution and Production Coverage — The code coverage tool can now attribute coverage to individual tests, rerun only affected tests on save, cover views (ERB/Haml/Slim), and monitor coverage on production traffic to find code that's not getting used. No Overage Invoices — Errors, traces, Sidekiq, hosts and logs in one gem.

Example or evidence

  • Shopify has already used it to replace numerous long-running tests with 20+ such rules to check its whole monolith in under a minute.
  • Ractor's rules are changing: classes and modules are now 'owned' by the Ractor that created them, and only that owner can modify them, replacing several 'main Ractor only' rules.
  • Bozhidar Batsov has switched off 24 style cops under RuboCop's new 'preview' mode, a taste of the leaner defaults planned for RuboCop 2.
  • Shopify's "$1 million over four years" Ruby Shield partnership with Ruby Central has concluded.

Details worth keeping

#​816 — September 10, 2026 Read on the Web Together with Ruby Weekly RubyKaigi's Talks Are Finally Online RubyKaigi, the conference where Ruby's core team gathers each year, took place in Japan this April, but the talks have just made it onto YouTube with 68 videos in this playlist. Porting Doom – Chris Hasiński on his Ruby DOOM port. Sign up for free and stop worrying about your job queues.

Related coverage

  • Railsatscale: Originally appeared on Rails at Scale.
  • Rubyflow: A repo-aware prompt for Codex, Claude Code, Cursor, and similar tools that audits an existing Rails application for conflicting architectural precedent, missing decisions, structural risks, and agent...
  • Fastruby: Originally appeared on The Rails Tech Debt Blog.
  • Shopify: Originally appeared on Shopify Engineering. We built Helix to help LLMs rebuild the Shopify app in Swift and Kotlin, using small checkpoints and strict quality gates to keep the code shippable.
  • Fastruby: Originally appeared on The Rails Tech Debt Blog.

More context around this story.

Herb on Rails
Fastruby iconFastrubySep 22, 2026

Herb on Rails

Originally appeared on The Rails Tech Debt Blog . ERB does not know that it is generating HTML. It finds the <% %> tags, evaluates the Ruby inside them, and concatenates everything else as plain text. Whether the result is valid markup has never been its problem. Herb changes that. On August 25, 2026, the Ruby on Rails

Turning Audit Findings into CI Checks
Fastruby iconFastrubySep 3, 2026

Turning Audit Findings into CI Checks

Originally appeared on The Rails Tech Debt Blog . You get a site audit report and it looks manageable. A few dozen findings, most of them small: a page with barely any text on it, a link whose text is just “here”, a page whose title tag is a copy of its H1, a hero image heavy enough to hurt the largest contentful paint

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app