For anyone who hasn't heard of this before, like me:
https://en.wiktionary.org/wiki/yak_shaving
-
Any apparently useless activity which, by allowing one to overcome intermediate difficulties, allows one to solve a larger problem.
-
A less useful activity done consciously or subconsciously to procrastinate about a larger but more useful task.
(Seems to be using definition 2)