r/devops • u/ToddGergey Bitrise • 27d ago
Discussion How do you tell what broke when GitHub Actions goes down?
Been looking at GitHub’s status history and availability reports for July to October, sorting the Actions incidents by what broke. Kind of surprised how many of them would’ve taken out self-hosted runners too. The July 19 cert expiry cut self-hosted runners off for about 5 hours, and on Aug 26 job assignment was stuck for almost 3, so nothing reached anyone’s runners. Only a few, like Oct 5, were just GitHub-hosted.
When builds start failing for you, how do you work out if it’s on your side or GitHub’s? Is it mostly refreshing githubstatus.com or do you have alerts or something set up?
2
u/argo_devbuild 27d ago
The quickest tell is whether the job ever got picked up. If it sits in queued and never reaches a runner, that's usually the dispatch side on GitHub, and if it starts and then fails partway it's more often on your side or a dependency like a registry.
githubstatus.com is a Statuspage site, so you can subscribe to just the Actions component by email or webhook, RSS and Slack are there too, and there's a JSON API under /api/v2/ if you want to pull it into your own alerting.
On top of that, alerting on how long jobs sit in queued and running a tiny canary workflow on a schedule gives you a signal that doesn't depend on your real builds, so if the canary stalls too you know it isn't your code.
22
u/captainmcawesomevill 27d ago
Claude. I forgot how to debug stuff
7
u/WetFishing 27d ago
By not buying shitty vibe-coded projects that are advertised on Reddit through seemingly harmless questions. GTFO of here and use proper channels to advertise your shitty app. So tired of seeing these questions on every sub every day.
3
u/Zotlann 27d ago
Usually devops posts in a channel that github actions are experiencing issues and that may affect some of our pipelines. And then devs take that as a greenlight to ignore red builds for the day. It's like a snow day except way more frequent and you don't have to make them up at the end of the year.
2
u/PerpetuallySticky 27d ago
Straight checking the status page pretty much every time there is a blip. Their service might be built with glue and twine, but they are (usually) alright about updating the status page quickly
2
u/Tasty-Association860 21d ago
Just move to Chainguard actions
1
u/OutdoorsNSmores 27d ago
The recent runner issues pushed us to setup our own runners. For longer jobs, it is less expensive.
How do we determine it is GitHub? Personally, I grabbed a hash that was all green and tried to run it again.
1
u/Inkin 24d ago
At this point we just assume it is GitHub from the jump.
1
u/IcyTale5311 23d ago
I have my Github Actions Monitor for resolve these problems. github.com/JuanenRac/TOOLS-GITHUB-ACTIONS-MONITOR
1
u/Anna_GermainUX 20d ago
It's very likely there's an underlying issue with the platform. The official status pages might not show if there's any issue since cloud services might take time to reflect the present status, so it might not be the most reliable to base it on at the moment.
When in doubt, just do some basic testing instead of blind-guessing what's going on. Even external alerts that track the API availability will help.