Salesforce Trunk-based Development [new] Site
Trunk-Based Development is not only possible on Salesforce – it is to GitFlow or long-lived feature branches for teams practicing continuous delivery. By combining SFDX scratch orgs, automated CI, and feature toggles, Salesforce teams can achieve:
Move from GitFlow to 3-day feature branches, then compress to 24 hours, then adopt TBD fully. Your CI pipeline and metadata hygiene will thank you. salesforce trunk-based development
| Metric | Target | How to Measure | |--------|--------|----------------| | Branch lifetime | < 24 hours (average 4-6 hours) | Git analytics | | Time from PR open to merge | < 1 hour | GitHub/ADO metrics | | CI pass rate on main | > 95% | Build monitoring | | Merge conflicts per sprint | < 3 | Team retro | | Deployment failures to production | 0 per month | Change success rate | Trunk-Based Development is not only possible on Salesforce