TLDR Tech / DevOps
Selective Test Execution at Stripe: Fast CI for a 50M-line Ruby monorepo
Stripe keeps CI fast in a massive Ruby monorepo by running only a small subset of tests using Selective Test Execution, which dynamically tracks file access during test runs and re-executes only tests affected by code changes. This approach avoids unreliable static analysis, achieves large compute savings, and maintains safety through guardrails like always running critical or previously failing tests.
Read the full story