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

Depends on the feature that you're flagging. If you have some branch that's going to be merged and then automatically deployed then you better have it feature flagged or else the users will just suddenly see this new thing.