A typical action when working in Trunk Based Development is to revert a commit that caused a red build. Sometimes this is the appropriate action to take. Sometimes it is not. This article provides some learning's and discussion points to consider before mandating that all commits that caused a red build should be reverted.
A revert may not be appropriate when:
- It is a simple fix to address the problem, time to do the fix and push is less than the time to revert and push.
- Database migrations have been run in a higher level testing environment and it may…