Surface the Outdated phase, and tell a runner version deprecation apart from a rejected spec
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, go, kubernetes, prometheus
- Área
- devops, observability
Línea de trabajo
Start by tracing how the controller handles runner exit code 7 and updates AutoscalingRunnerSet status to Outdated; inspect the related changes in #4652 and #4660. Then find where controller metrics and Kubernetes Events are registered, and how runner version information is available. Done means Outdated sets emit a Warning Event and phase metric, while version deprecation is recorded distinctly in status.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
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 thegha_*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 neweractions-runnerimage, 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 examplegha_autoscaling_runner_set_phase{phase}). - Carry the reason in status, for example a condition with reason
RunnerVersionDeprecatedand
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.
- Lenguaje dominante
- Go
- Estrellas
- 6.7k
- Forks
- 1.5k
- Merge medio
- 1 h 34 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de actions/actions-runner-controller
-
community enhancement needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
actions/actions-runner-controller#3997 · 9 comentarios · 27 reacciones ·
Los mantenedores suelen responder en 1 día
-
gha-runner-scale-set: support Google Cloud Secret Manager as a vault for GitHub credentialsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertocommunity enhancement needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
actions/actions-runner-controller#4737 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Controller upgrade cancels jobs that started shortly before their runner set is deletedQuizá libre de nuevo @ankit373 la tomó hace 9 días y no hay ningún pull request abierto. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
actions/actions-runner-controller#4736 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
EphemeralRunnerSet controller creates more runners than `spec.replicas` when its cache lags its own createsPosiblemente ocupada @jia-pylon la tomó hace 14 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
actions/actions-runner-controller#4734 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
EphemeralRunnerSet creates more EphemeralRunners than `spec.replicas` on scale up (stale cache, no create expectations)Posiblemente ocupada @yaronr la tomó hace 29 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
actions/actions-runner-controller#4722 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de actions/actions-runner-controller
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
needs discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openfga/openfga.dev#1436 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
都道府県を指定すると区名から始まる住所に市名を補わないAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
digital-go-jp/abr-geocoder#457 ·
Los mantenedores suelen responder en 3 días
-
benchmark
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
mozilla-ai/cq#601 ·
Los mantenedores suelen responder en 1 día