3 ms·
Bisecting to find the root cause is always going to be a better strategy if you know there is a good version. I really recommend adopting this strategy.
by Foxboron 3y ago
Bisecting to find the root cause is always going to be a better strategy if you know there is a good version.
I really recommend adopting this strategy.
- starttoaster 3y agoBisecting can be a good strategy. But you need to look through 100 commits. I need to look through 5-8 PR diffs. Everyone thinks they have the best strategy because they get results with it. Anyway, I'll try your strategy if mine is failing.
- Foxboron 3y agoNo, it does a binary search over the 100 commits. You would probably hit the issue before you hit 7 or 10 commits depending on how lucky you are.
- lijok 3y agoYou should play around with git bisect - seems like you've not used it much. It's a life changer when it comes to finding what broke. Don't forget, a project like Terraform is too big. No one person can know how the whole system works. Trying to look through PRs as a means of debugging is a fools errand. You have to take on a different mindset when working on these large codebases.