Surface the Outdated phase, and tell a runner version deprecation apart from a rejected spec
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github-actions, go, kubernetes, prometheus
- 領域
- devops, observability
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 6.7k
- フォーク
- 1.5k
- 平均マージ
- 1時間 34分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
actions/actions-runner-controller のほかの issue
-
community enhancement needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
actions/actions-runner-controller#3997 · コメント 9 件 · リアクション 27 件 ·
メンテナーはふだん 1 日以内に返信
-
gha-runner-scale-set: support Google Cloud Secret Manager as a vault for GitHub credentials対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンcommunity enhancement needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
actions/actions-runner-controller#4737 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Controller upgrade cancels jobs that started shortly before their runner set is deleted再び着手できるかも @ankit373 が 9 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
actions/actions-runner-controller#4736 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
EphemeralRunnerSet controller creates more runners than `spec.replicas` when its cache lags its own creates対応中かも @jia-pylon が 14 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
actions/actions-runner-controller#4734 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
EphemeralRunnerSet creates more EphemeralRunners than `spec.replicas` on scale up (stale cache, no create expectations)対応中かも @yaronr が 29 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
actions/actions-runner-controller#4722 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
actions/actions-runner-controller の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
needs discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openfga/openfga.dev#1436 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
digital-go-jp/abr-geocoder#457 ·
メンテナーはふだん 3 日以内に返信
-
benchmark
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
mozilla-ai/cq#601 ·
メンテナーはふだん 1 日以内に返信