Skip to content

fix: bump actions-runner to 2.336.0 - #20

Merged
zzswang merged 2 commits into
mainfrom
fix/actions-runner-latest
Aug 11, 2026
Merged

fix: bump actions-runner to 2.336.0#20
zzswang merged 2 commits into
mainfrom
fix/actions-runner-latest

Conversation

@zzswang

@zzswang zzswang commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

背景

arc-runners 命名空间下所有 runner Pod 启动数秒后退出、被控制器反复重建。runner 容器日志:

GET https://broker.actions.githubusercontent.com/message?... HTTP Status: Forbidden
An error occurred: Runner version v2.334.0 is deprecated and cannot receive messages.
Runner listener exit with deprecated version exit code: 7.

GitHub 已把 2.334.0 判为过期并拒绝下发任务,而 ARC 模式下 runner 自更新是关闭的(disableUpdate=true),版本完全由本镜像的基础镜像决定。上一次同样的问题在 9698714 修过一次(bump 到 2.334.0),现在轮到 2.334.0 自己过期。

改动

  • Dockerfile 基础镜像从 ghcr.io/actions/actions-runner:2.334.0 升到 2.336.0(当前 actions/runner 最新正式版)。
  • 不使用 latest:构建时解析到的 digest 会随发布镜像一起冻结,GitHub 再升版本也不会自动跟上,反而让每个 release 里的 runner 版本不清晰。

后续

合并后 release-please 出 v1.5.4 并推镜像到 Harbor,随后在 cluster 仓库把 playbooks/sites/arc/vars.yamlgithub_runner_image 指向新 tag 并重新部署。

zzswang and others added 2 commits August 11, 2026 09:57
GitHub rejects job messages from runner versions that fall out of the
support window, and ARC disables runner self-update, so a pinned base
image silently breaks every runner once it expires (2.334.0 now returns
403 and exit code 7). Tracking latest avoids the recurring outage; the
build forces a base image pull so inline cache cannot pin a stale digest.

Co-authored-by: Cursor <cursoragent@cursor.com>
latest only resolves at build time; a published image is still a frozen
snapshot, so tracking latest does not avoid the next deprecation outage
and obscures which runner version each release contains. Pin 2.336.0
explicitly (current actions/runner release) to unblock ARC runners that
fail with exit code 7 on deprecated 2.334.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@zzswang zzswang changed the title fix: track actions-runner latest tag fix: bump actions-runner to 2.336.0 Aug 11, 2026
@zzswang
zzswang merged commit 11bc0bf into main Aug 11, 2026
2 of 3 checks passed
@zzswang
zzswang deleted the fix/actions-runner-latest branch August 11, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant