How do you spend the five minutes a build takes?
Building software or applying configuration changes (Ansible, Puppet) takes some time. If it's just a couple of seconds, you wait for it to finish. If it is a matter of hours, you do something else and check back later.
But what do you do if a build takes about five minutes? Starting another task (like programming) is hardly possible, because you don't get anything meaningful done in five minutes. Checking emails, chat messages, or the the phone either doesn't fill up the time (no new messages) or just sidetracks you (starting another task that takes longer than five minutes).
Checking some random websites or social media is also a bad idea, especially if you have a lot of those five minute builds during the day, because then it creates a habit of distraction.
How do you spend that time?
24 comments
[ 5.0 ms ] story [ 72.5 ms ] threadA little girl walked into a pet shop and asked in the sweetest lisp: "Excuthe me, mithter, do you keep widdle wabbits?" As the shop keeper's heart melted, he got down on his knees to her level, asking: "Do you want a widdle white wabbit, or a thoft and fuwwwy bwack wabbit, or maybe one like this cute widdle bwown wabbit over here?" The little girl leaned forward and said: "I don't fink my pet python weally gives a thit."
What I ended up doing: starring at the progress.
WFH: swivel my chair to my personal computer and work on personal stuff.
Office: Google random things, take a quick walk to stretch legs, get coffee, look at phone.
https://xkcd.com/303/
Meaning: observe as my thoughts flow until they slow down a bit. Regain my balance. That's all. This brings ideas, sometimes even creative ideas, without any particular effort. Occasionally the conclusion pops up that for the last two hours I missed the forest for the trees.
If I'm in the office and someone asks me what's going on I just respond "The work.", because it's kinda true.
A good strategy is to have fast and separate thorough/longer checks. My smoke builds try to be faster than 3min, the thorough builds, like for a PR or master update, could last 30min, but on some projects, esp with windows, about 2hrs.
Then it's good to switch to another branch to do some useful work.