Live at Head: Trunk-Based Development
Why long-lived branches hurt, how trunk-based development fixes it, and the tooling that makes it safe at scale.
Tag
4 posts tagged with this.
Why long-lived branches hurt, how trunk-based development fixes it, and the tooling that makes it safe at scale.
Part 2 of a multi-year migration case study. After building a homegrown monorepo toolchain, we adopted Nx — and discovered that its opinionated approach solves some problems elegantly while creating new ones when your apps can't truly be isolated.
We cut a 45-minute CI pipeline to 12 minutes by measuring every task and solving a knapsack problem to distribute builds across GitHub Actions workers. It worked. It was also the wrong problem: a static assignment is a bet placed before the run, and it cannot stay optimal once the run has better information.
How we cut build times from 45 minutes down to 3–10 minutes on an on-premise TeamCity cluster using multistage Docker builds, content-addressed cache keys, and shared filesystem volumes — plus what modern BuildKit unlocks today.
All tags