Ok, it was a crazy day today.
1-1 with Jacob was again moved to tomorrow. NP at all, of course.
Managed to deploy import to prod, and even checked how it runs. I may need to update one more script, that actually does run it, at least for staging - where it was updated already. But it's too late for this week, so, Monday.
Besides, got through with deploying the service on staging, and it works ok, I checked. Notified Priyanka, who's busy anyway, she's flying to India now, from Senegal(?).
But the biggest fun was that this staging config update, I had to do it manually.
See, since I had one update for prod, and another for staging, I had two directories with these branches. That's my practice for years, have two or more copies of the project, to do development in parallel.
And now what. That other directory, the thing did not even compile. Haoyi's ammonite suddenly stopped finding some libraries. When running in a just pulled master. Meanwhile in the first directory, the thing started crashing with "unknown exceptions". And in Jenkins, it started crashing with another exception.
People were saying that it may be thanks to Nix glitches. Nix interferes in the development process in mysterious ways, and should be eliminated.
Later in the day, when I edited the 4 files manually - they were supposed to be updated by the ammonite script, and pushed the update into a branch, and sent it to Karen for review, she noticed that two lines of one file have magically disappeared. Thank you Karen! I looked into the PR, and found that also 206 files were silently deleted by the script. The script that has been working for about two years. Or three. Programmers, eh.
Somehow I managed to slap together another PR, with all sane updated, but still, what's up with the scripts, behaving differently in different tabs in terminal? I know, `env` returns different lists of env variables, but what's up exactly?
(sigh)
Tomorrow. Production issues have been resolved. And I'll have to talk to Jacob.
Also, Bhagav created a channel in slack, dedicated to the functionality that we are providing them. I am providing. And asked me if it is already available. My notifications from before July 4th were successfully forgotten. OTOH, my initial promise was: mid-July. So that was their plan. And also I sent again the url of the swagger page where one can experiment with that API. So we are good. Except that they'll encounter surprises - described in the doc I wrote yesterday and shared with Karen and Jacob. We will see.