Hacker News new | ask | show | jobs
by sleepybrett 43 days ago
Here is the thing, we have self-hosted runners running behind our firewall and even those go down for these kinds of outages. All the jobs just sit in the queue and are never sent to our self-hosted setup at all.
2 comments

> we have self-hosted runners running behind our firewall and even those go down for these kinds of outages

Sounds like it's not as self-hosted as you think, or you have some other unnecessary dependency on something here? As long as GitHub isn't the sole place for your SCM, why would your self-hosted CI runners go down just because GitHub goes down?

because github stops passing out the jobs in general. The self hosted runners are behind the actions runner controller: https://github.com/actions/actions-runner-controller
I see, you're still using GitHub for SCM? Then I understand why it stops working :P When I said "Forgejo + their built-in Actions stuff" I meant you use Forgejo for git too, not just self-hosting runners but then connecting them to someone else's infrastructure.

If you're already hosting the runners, why not host git too? It's even simpler than running your own workers/runners.

1. Why isn't observability setup to monitor the queue depth and alert?

2. Why aren't the CI runners self-healing?

1. we absolutely have these alerts and i get alerted, often before github updates their status page updated telling me about the actions failure.

2. because when github's actions api is down in certain, seemingly very common, ways even self hosted runners can't pick up the jobs