The Agile Embedded Podcast

Trunk-based development


Listen Later

In this episode, Jeff and Luca discuss trunk-based development, a software development practice where developers merge their work into the main branch (trunk) frequently - at least daily. They explain how this approach differs from traditional branching models like GitFlow, and address common objections and concerns. The hosts emphasize that while trunk-based development may seem risky, it actually reduces risk by exposing integration problems early and forcing teams to implement good engineering practices like automated testing and feature flags.

The discussion highlights how trunk-based development acts as a "forcing function" that encourages better development practices, smaller changes, and more frequent collaboration between team members. They explain that while this approach originated in web development, it's equally applicable to embedded systems. The hosts cite research from the book "Accelerate" showing that trunk-based development is a predictor of high-performing software teams.

The episode concludes by emphasizing that most objections to trunk-based development actually point to underlying process issues that need to be addressed, and that the benefits of early integration and feedback outweigh the perceived downsides.

Timestamps:
00:00:00 - Introduction and topic overview
00:03:00 - Basic version control concepts and branching
00:08:00 - Definition and principles of trunk-based development
00:13:00 - Feature flags explanation and implementation
00:20:00 - Common objections to trunk-based development
00:27:00 - Application to embedded systems
00:34:00 - Benefits of trunk-based development
00:40:00 - Impact on team dynamics and collaboration
00:47:00 - Research backing and evidence from "Accelerate"

Shownotes / Links:
MinimumCD: https://minimumcd.org/
Accelerate: https://www.goodreads.com/book/show/35747076-accelerate
The nvie branching model: https://nvie.com/posts/a-successful-git-branching-model/

You can find Jeff at https://jeffgable.com.
You can find Luca at https://luca.engineer.

Want to join the agile Embedded Slack? Click here 

...more
View all episodesView all episodes
Download on the App Store

The Agile Embedded PodcastBy Luca Ingianni, Jeff Gable

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

12 ratings


More shows like The Agile Embedded Podcast

View all
Global News Podcast by BBC World Service

Global News Podcast

7,899 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

285 Listeners

Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

32,121 Listeners

The Amp Hour Electronics Podcast by The Amp Hour (Chris Gammell and David L Jones)

The Amp Hour Electronics Podcast

230 Listeners

Embedded by Logical Elegance

Embedded

188 Listeners

The Tim Ferriss Show by Tim Ferriss: Bestselling Author, Human Guinea Pig

The Tim Ferriss Show

16,237 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Hidden Brain by Hidden Brain, Shankar Vedantam

Hidden Brain

43,343 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

271 Listeners

Embedded Insiders by Embedded Computing Design

Embedded Insiders

11 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

137 Listeners

Deep Questions with Cal Newport by Cal Newport

Deep Questions with Cal Newport

1,266 Listeners

Hard Fork by The New York Times

Hard Fork

5,377 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

14,859 Listeners

Make Economy Great Again by WELT

Make Economy Great Again

17 Listeners