Shipping is your heartbeat: Rails in the agentic era
summary
A 5 million‑line Rails monolith ships ~200–250 deploys per day with first production traffic ~5 minutes after merge by combining RotorScope test selection (225k specs reduced to ~3 minute runs and selected suites at ~5% compute), Bootsnap/schema‑cache warm boots, build optimizations (slug builds cut from 4.5 min to 53s), SSM + Muster deployment system for staged rollouts and automated rollbacks, and a Shrek review agent that auto‑approves ~40% of PRs with a 0.5% revert rate.
AI-written summary · about
chapters (15)
- 0:00Introduction to shipping heartbeat
- 1:52Rails monolith at Intercom scale
- 3:57Shipping 200 times per day
- 6:03Stability without slowing down
- 7:48Optimizing CI/CD pipeline speed
- 9:11Test suite growth and selection
- 14:52Reducing Rails boot and build costs
- 19:26Streamlining deployable asset builds
- 22:14Smoke tests and production deployment
- 23:40Automated rollbacks and incident response
- 27:10Treating all changes as high risk
- 28:55AI-powered code review with Shrek
- 37:04Shrek review outcomes and benefits
- 38:49Challenges and future improvements
- 40:13Closing and key takeaways
