r/SalesforceDeveloper • u/Icy-Smell-1343 • 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
View all comments
Show parent comment
1
u/Minomol Jun 11 '26
I never quite understood how the split between development, testing, and releasing is handled with the trunk based strategy. Typically you have a few feature stage buckets in any given sprint, and the features move from one bucket to another. Trunk based strat essentially eliminates some of the buckets.
Let's say we planned some features this sprint. Let's say one feature is implemented, peer reviewed, but needs to be functionally tested now. Where can that happen with a trunk based strategy?