← Back to Journey Map Phase 07 · Execution & Delivery
Phase 07 · Execution & Delivery
Trunk-Based Development
All developers commit to a single main branch — no long-lived branches
Extreme Programming (XP) / continuous delivery community · 1990s-2000s

Trunk-Based Development (TBD) is a source control practice where all developers commit to a single shared branch (trunk/main) frequently — at least daily. It enables true continuous integration and eliminates merge debt.


Fast-moving teams that want to maximise deployment frequency. Requires feature flags and a strong automated test suite as prerequisites.


  1. All developers work directly on main or via branches that live less than 1 day
  2. Commit and push at least once per day — preferably multiple times
  3. Feature flags hide incomplete work in production during development
  4. Automated CI pipeline runs on every commit: build, unit test, integration test
  5. If CI fails, fixing it is the team's immediate first priority
  6. Deploy to production on every successful merge to main

🎵 Spotify

Spotify's engineering culture is built around frequent, small commits. Their continuous delivery pipeline meant a feature change could go from merge to production in under 30 minutes. This enabled the rapid A/B experimentation that powered their growth — running 200+ concurrent experiments requires deploying changes constantly without destabilising the system.

📊 Trade Surveillance

Please contact the author for more information on these examples at linkedin.com/in/kshitijrege



Extreme Programming (XP) / continuous delivery community 1990s-2000s


← Return to Product Journey Map