fix: bump actions-runner to 2.336.0 - #20
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
arc-runners命名空间下所有 runner Pod 启动数秒后退出、被控制器反复重建。runner 容器日志: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.yaml的github_runner_image指向新 tag 并重新部署。