Comments by "Michael Stover" (@michaelrstover) on "Git Flow Is A Bad Idea" video.
-
4
-
2
-
1
-
1
-
@Resurr3ction If there are 8 PRs, each one runs a test of it + main. They all pass. Then they all merge. Then master is broken! You didn't test master + all the PRs merged all together.
Of course, you could. You could run all your PRs serially, testing only one at a time, merging it, then testing the next, and that might work or it might be a bottleneck. When I push my PR up, I might not find out it doesn't work with someone else's changes until many hours, or even days go by. What didn't work might have been something simple and stupid that the unit tests covered, but I couldn't discover that except by waiting hours and hours. Meanwhile, I had to move on to other things.
I can't really speak for Dave, but if I try, I'm guessing the attitude is, the tests we run locally have to be a very good, thorough, and fast test suite. We run them before we push to trunk. Then, after every such push to trunk, the more expensive suite is run. If that fails, we stop and go fix it, and the reality is this is not such a problem because we found out about it very quickly, and since we only ever make small incremental changes, fixing is not such a problem. The fast feedback is worth more than the occasional small breakage that 99% time are easy to fix.
1
-
1
-
1
-
1
-
1
-
1