Brr.
First week back at work. A not insignificant part of Monday was spent trying to work out why a handful of tests were failing on my machine that weren’t before Christmas. It didn’t help that the first time I ran the full test suite was after upgrading to Elixir 1.18 and fixing a few new compiler warnings, but then when I went to bisect from main I realised that that branch was failing too. After clearing various caches, build products etc with no luck I slowly narrowed it down to certain integration tests not receiving expected completion messages, then to a couple of specific background tasks that didn’t seem to be succeeding. After running them manually, I eventually spotted that they had a two-minute sleep that was required in production but had been stubbed out in test. Because these are TCL expect scripts called from the main Elixir code, making them behave differently based on environment hadn’t been as simple, and I’d done it (a while ago) by checking for an environment variable that was only set in production. And guess what I’d been playing with last thing before finishing for the year? Yup, trying out some setup for a new production environment, in the process of which I’d set some environment variables in my shell profile, including the one that caused it to do a real sleep. As Dan pointed out, the mention of environment variables was a bad sign. I’m not sure the hack I’ve currently replaced it with is any better, but at least it works for now.
I also managed to soldier on to the end of the exercises in the Factor chapter of Seven More Languages in Seven Weeks ready for the study group on Tuesday, but no-one else bothered, and I can’t say I blame them. Definitely not my favourite of the random languages I’ve dipped my toe into.
In my usual style of finding things on TV that everyone else has been watching for ages, I’m currently about two thirds of the way through Man Like Mobeen, and enjoying it.
I’m also over halfway through my Christmas cake. I’m not sure it’s doing my “lose a stone before London” diet much good, but I have at least started to build my running distance up again (80 miles so far this year). Sunday was the Stowmarket cross country – my first race of the year – and it went better than expected, so that’s vaguely reassuring.