Does anybody actually use trunk based development in their company?

onlinepersona@programming.dev to Programming@programming.dev – 87 points –
Trunk Based Development
trunkbaseddevelopment.com

I've heard it thrown around in professional circles and how everybody's doing it wrong, so.. who actually does use it?

For smaller teams

"scaled" trunk based development

58

You are viewing a single comment

With git. Every time we start work, we pull. After every commit, we push (and pull/merge/rebase) if necessary.

Wait, you push to main directly? That's not exactly what "trunk based" means.

streaming small commits straight into the trunk

The image even calls it like that

Some things don't have good CI/tests, so it doesn't make sense to include the build step, especially on a small team where we trust each other. But yes, it's not good practice, and we don't do this on every project, but sometimes it's necessary to adjust the flow to the specific project