Action Deduplication: Faster and Cheaper Remote Builds Without Lifting a Finger
summary
Remote Bazel RBE backends implement action deduplication (aka merging/coalescing) so identical actions already executing are not re-run; BuildBuddy, Buildbarn and Inflow-style services provide it. Canva measures a 66% unnecessary rerun rate for 7–10 minute webpack actions, yielding only ~$10k/year saved, but UI tests see ~500k deduplications/day with ~100s average runs and save hundreds of thousands in compute. Expect clustered flaky-test failures and consider alerting or detection changes.
AI-written summary · about
chapters (9)
- 0:00Action deduplication intro
- 1:03Remote execution without dedup
- 2:26How dedup prevents redundant work
- 3:30Why dedup matters in CI
- 4:56Dedup in main branch builds
- 6:19Building only changed targets isn't always better
- 7:42Real-world cost savings
- 9:07When to enable dedup
- 9:27Flaky tests and failure clustering
related talks
50mBuilding on Key – Keeping your Actions and Remote Executions in Tune + Q&A
21mDebugging and fixing build non-determinism with Bazel
54mDeveloper Productivity Engineering Deep Dive
34mKeynote
42mMake local development (with Bazel) great again!
24mFaster Builds With Remote Execution and Caching
01h 31mBazel
36mKeeping your team’s Gradle builds in top shape
