2 Hours to 10 Minutes: Building Rust Monorepos at Scale with Bazel RBE
Talkat RustConf 2026 · on Thursday, 2026-09-10· at 13:45· Room 510ac | Palais des Congrès de Montréal, Palais des Congrès de Montréal·
summary
A Rust monorepo with ~170 crates moves CI from slow GitHub Actions to Prow on Kubernetes with Bazel + remote execution and a local NVMe content store, cutting median Bazel test time to 3 minutes from tens of minutes, generating ~5,000 actions and using content-addressed caching to avoid reruns. No-verdict runs drop from 18% to 6%, most tests run under Bazel while Cargo stays for live-service tests, and the system proves reproducible and practical.
AI-written summary · about
chapters (11)
- 0:00Introduction and context
- 2:30Monorepo trade-offs in Rust
- 7:27Evolution of CI at Foresight
- 10:57Switching from GitHub Actions to Prow
- 13:51Building a custom Rust CI tool
- 16:19Introducing Bazel for Rust
- 21:58Current CI workflow with Bazel
- 25:56Performance gains with Bazel
- 27:41Future plans and developer workflow
- 29:05When to consider Bazel
- 30:10Q&A session
related talks
21mFast/Correct: Choose two using Bazel for a monorepo
20mAdopting Bazel in a quickly scaling organization
31mHey Dad, What's Bazel?
42mMake local development (with Bazel) great again!
21mSupercharge your builds with Bazel
29mPerformance: We're In This Together
32mBuilding and Maintaining Rust at Scale
01h 31mBazel
