SwiftPackageIndex-Server icon indicating copy to clipboard operation
SwiftPackageIndex-Server copied to clipboard

Alert on lack of updates (release posts)

Open finestructure opened this issue 4 years ago • 5 comments

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).

finestructure avatar May 17 '21 06:05 finestructure

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.

finestructure avatar Mar 26 '22 09:03 finestructure

Apart from also testing the actual posting of tweets, wouldn't a query on released_at in recent_releases be the same?

daveverwer avatar Mar 26 '22 12:03 daveverwer

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)

finestructure avatar Mar 26 '22 12:03 finestructure

Then this is the perfect solution! 🚀

daveverwer avatar Mar 26 '22 12:03 daveverwer

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.

finestructure avatar Feb 28 '23 09:02 finestructure