To TBD or Not to TBD?
summary
Describes implementing trunk‑based development for KasperskyOS using a single monorepo fronted by Gerrit + virtual monorepo integrations, a custom file‑based build with Bazel caching, and a test pipeline plus dashboard to tame flakies; it processes roughly 200 builds/day, stores terabyte‑scale artifacts and runs on >5,000 test agents plus 100+ heavy build agents. Claims this yields a reliable green master and scalable workflow for tens→hundreds of engineers but costs tens of millions and demands tight monitoring, on‑call, and strict discipline.
AI-written summary · about
chapters (20)
- 0:00Welcome and introduction
- 1:27What is TBD
- 3:41Our operating system project
- 6:09Defining TBD concept
- 8:58Challenges in software development
- 12:33Scaling development teams
- 15:06Common team pain points
- 21:53Why we adopted TBD
- 26:52Monorepo challenges
- 29:02Python's role in our workflow
- 30:36Introducing Gerrit
- 34:16Build system requirements
- 35:42Testing system priorities
- 38:58Handling flaky tests
- 41:10Ensuring green master
- 42:33Importance of monitoring
- 44:20Key takeaways from TBD
- 45:46Vertical scaling limitations
- 46:49Moving to microservices
- 48:16Q&A session
