Something I really grew to hate over my time at various software firms were complex and flaky stacks with big test loops, and it's exactly this kind of reason why. Ideally, I have a problem, I want to put my head in the problem space and stay focused there until it's done. Every time a test suite takes five minutes to run, or I have to look up some obscure docs in my web browser, or I have to go somewhere else to rebuild a failing service, is an off-ramp to that flow state, and that's where I lose a whole hour to procrastination.