You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Surface the Outdated phase, and tell a runner version deprecation apart from a rejected spec #4739
When GitHub deprecates a runner version, the runner exits 7 and the AutoscalingRunnerSet goes Outdated. On 0.14.1 that deleted the scale set. On 0.15.x (#4652, #4660) it is switched off
until the runner spec changes, which is better. Two gaps remain:
Nothing signals it. The controller records no Kubernetes Event, exports no metric for the
phase, and the listener (the source of the gha_* metrics) is stopped. Jobs for the label
queue without any error. We found two outages only when users reported stuck jobs, days later.
A version deprecation looks the same as a rejected spec. The recovery differs: for a
deprecation, the fix is a newer actions-runner image, and the spec was valid the day before.
Request
Record a Warning Event on the AutoscalingRunnerSet when it enters Outdated, and expose its
phase as a controller metric (for example gha_autoscaling_runner_set_phase{phase}).
Carry the reason in status, for example a condition with reason RunnerVersionDeprecated and
the runner version, when exit code 7 comes from a version deprecation.
Workaround
kube-state-metrics custom resource metrics on status.phase, plus an alert on phase != Running for 10 minutes.
Controller and chart 0.14.1. Behavior checked against the 0.15.1 source.
Reacted by SebKow, Alex Recuenco, Jonatas Teixeira and Junya Okabe
One addition that would let the warning come before the outage rather than after it.
GitHub already publishes the cutoff dates for a runner version: GET /orgs/{org}/actions/runners/deprecations/{version} returns registration_deprecates_at and runtime_deprecates_at (for a current version both are null; for an older one runtime_deprecates_at is set). Per the GitHub App permissions reference, it accepts installation tokens with the organization "Self-hosted runners" read permission, which an org-level ARC GitHub App already holds.
If the controller looked up the runner version of a scale set and exposed runtime_deprecates_at (a status field or a gauge such as a seconds-until-deprecation metric), users could alert weeks ahead and update the image before exit code 7. Without it, the only way we found to get an early warning is a scheduled workflow that compares the deployed runner version with the actions/runner releases and assumes the documented 63-day window.
Activity
github-actions commentedon Nov 6, 2026
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
Ryan02I5 commentedon Nov 24, 2026
One addition that would let the warning come before the outage rather than after it.
GitHub already publishes the cutoff dates for a runner version:
GET /orgs/{org}/actions/runners/deprecations/{version}returnsregistration_deprecates_atandruntime_deprecates_at(for a current version both arenull; for an older oneruntime_deprecates_atis set). Per the GitHub App permissions reference, it accepts installation tokens with the organization "Self-hosted runners" read permission, which an org-level ARC GitHub App already holds.If the controller looked up the runner version of a scale set and exposed
runtime_deprecates_at(a status field or a gauge such as a seconds-until-deprecation metric), users could alert weeks ahead and update the image before exit code 7. Without it, the only way we found to get an early warning is a scheduled workflow that compares the deployed runner version with theactions/runnerreleases and assumes the documented 63-day window.