控制器升级 (0.13.x -> 0.14.x) 遗失了每个规模集的 AutoscalingListener;在运行器规模集未找到异常 (RunnerScaleSetNotFoundException) 时发生无限循环崩溃

作者: cypher7682创建于 2026年9月8日更新于 2026年9月8日
标签bugneeds triagegha-runner-scale-set

To Reproduce

  1. Install gha-runner-scale-set-controller and one or more gha-runner-scale-set releases at 0.12.1 (or any 0.13.x). Let the AutoscalingRunnerSets, AutoscalingListeners, and runners become healthy.
  2. Upgrade the controller in place to 0.14.x/0.14.2 (chart version bump only; no change to the AutoscalingRunnerSet spec).
  3. Observe that for every existing scale set there are now two AutoscalingListener objects in the controller namespace:
  • a new one named <ars-name>-<newhash>-listener (created by 0.14.x), which is healthy, and
  • the pre-upgrade one named <ars-name>-<oldhash>-listener, which is never deleted.
  1. Observe that the old listener's pods crash indefinitely, because it still holds the pre-upgrade spec.runnerScaleSetId, which no longer exists after re-registration: createSession failed: ... StatusCode 404, RunnerScaleSetNotFoundException: No runner scale set found with identifier <old-id>
  2. Confirm the count invariant is broken: number of AutoscalingListener objects = 2 × number of AutoscalingRunnerSet objects.

内容来源: actions/actions-runner-controller