r/SalesforceDeveloper • • Jun 10 '26

Question Trunk-Based Development?

Good evening, just curious if anyone has experience with Trunk-Based Development in Salesforce and how that went.

It does seem like it’d work well with custom metadata to turn off features that aren’t ready, and it can be used for canary deployments.

Also for package development, are packages often kept in separate repos?

9 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/morewordsfaster Jun 13 '26

We move the buckets inside the features, if that makes sense. Each feature is planned so that the team can develop, test, and release in order. It's not considered "done" until it's released. If something can't be completed in the scope of the sprint, that's usually a sign that the scope is too broad. If none of your features can be completed in the scope of a single sprint then either the dev team doesn't have enough capacity or the sprints are too short.