First few posts

2025-12-07 17:50:23 +01:00 by Mark Smith

Modern Times

Well yesterday's inaugural run of the auto-poster didn’t go exactly to plan. In fact it didn’t run at all. I didn’t really expect that it would have worked first time, though I was sort of hopeing that it would. Oh well.

I spent much of the morning trying to figure out why the scheduled trigger in the Github Action wasn’t launching any jobs. I updated it from running once daily to once every 5 minutes, and it still wasn’t running. No errors anywhere, just nothing. After a few hours I gave up and moved onto something else.

When I checked again a bit later, several jobs had been launched which then had errored. The first one starting almost 2 hours after it was supposed to start. And then it had run 4 times in an hour, which certainly wasn’t once every 5 minutes. I guess the Github scheduler is under stress? Kind of strange.

Anyhow since I had confirmed that at least the scheduler was working even if it was a bit temperamental, I started testing each poster with dryrun set to false. This was the first time I had tested live, and so I uncovered a few small bugs and some secrets that were missing. Eventually I managed to post to all social medias apart from LinkedIn. The LinkedIn API is really narly. I ended up commenting it out for now.

Anyway, yesterday’s blog post was re-posted to Mastodon, Twitter, Nostr, Bluesky. Pretty cool :)

So all the poster scripts are tested in live mode and the scheduler appears to be working, all be it sometimes with a big delay, but hopefully at some point in the early hours tomorrow, this post will get auto-posted to all the socials mentioned above. #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.