Surface the Outdated phase, and tell a runner version deprecation apart from a rejected spec
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, go, kubernetes, prometheus
- Lĩnh vực
- devops, observability
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 6.7k
- Fork
- 1.5k
- Merge trung bình
- 1 giờ 34 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của actions/actions-runner-controller
-
community enhancement needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
actions/actions-runner-controller#3997 · 9 bình luận · 27 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
gha-runner-scale-set: support Google Cloud Secret Manager as a vault for GitHub credentialsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởcommunity enhancement needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
actions/actions-runner-controller#4737 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Controller upgrade cancels jobs that started shortly before their runner set is deletedCó thể làm lại được @ankit373 đã nhận 9 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
actions/actions-runner-controller#4736 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
EphemeralRunnerSet controller creates more runners than `spec.replicas` when its cache lags its own createsCó thể đã có người làm @jia-pylon đã nhận 14 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
actions/actions-runner-controller#4734 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
EphemeralRunnerSet creates more EphemeralRunners than `spec.replicas` on scale up (stale cache, no create expectations)Có thể đã có người làm @yaronr đã nhận 29 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
actions/actions-runner-controller#4722 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của actions/actions-runner-controller
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
progress-deadline annotation accepts "0s" although validation says it must be positiveCó thể đã có người làm @BahaaMattar đã nhận hôm nay. Đang mởarea/API kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
api cleanup
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
router-for-me/CLIProxyAPI#7708 ·
Maintainer thường phản hồi trong vòng 1 ngày