SwiftPackageIndex-Server
SwiftPackageIndex-Server copied to clipboard
Alert on lack of updates (release posts)
There's one monitoring gap which I'd like to close: alert if there's suspicious silence on the twitter feed as the ultimate end-to-end test as it integrates across pretty much the whole processing chain (except build triggers).
This could be as simple as running a twitter search since:2022-03-26 from:SwiftPkgUpdates (via the API, I guess) and ensure there are results.
Apart from also testing the actual posting of tweets, wouldn't a query on released_at in recent_releases be the same?
It would, but I guess that's effectively covered by our analysis metrics + alerts. I.e. we do get alerts already when there's been a "release gap". (I need to check what the actual alert is but I'm pretty sure it's set up in the dashboard. It certainly is for build gaps.)
Here, I'd like to specifically plug the gap of the release notification channel on Twitter to notice:
- issues with Twitter auth preventing posting
- account issues (locked out, banned etc)
Then this is the perfect solution! 🚀
This should be feasible with the Mastodon API, where we can easily fetch the most recent posts and can check that they aren't older than the latest release.