Runners log "Runner version v2.325.0 is deprecated and cannot receive messages", while all jobs are stuck in queued
Checks
- [x] I've already read https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors and I'm sure my issue is not covered in the troubleshooting guide.
- [x] I am using charts that are officially provided
Controller Version
0.12.0
Deployment Method
Helm
Checks
- [x] This isn't a question or user support case (For Q&A and community support, go to Discussions).
- [x] I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
To Reproduce
1. install new ARC
2. runners would be failing with error above after about a month
Describe the bug
We have recently updated to new ARC from summerwind. The previous deployment had no issues for months, this one fails at least weekly, with the latest problem appears to be by design.
I believe the issue is this - https://github.com/actions/actions-runner-controller/blob/0a0be027fd3eb5c5b029f8f3a74b11ab12c48e1e/controllers/actions.github.com/autoscalingrunnerset_controller.go#L441
Describe the expected behavior
Should behave same way that summerwind images did - never fail with that error that runner is deprecated, just update runner version when starting if that is needed, when user want to update manually, then they have to disable updates using "DISABLE_RUNNER_UPDATE" option.
Additional Context
Documentation here still says
When a new version is released, the runner application automatically updates itself when a job is assigned to the runner
, though it is not clear if it refers to summerwind only. Is that doc needs updating or we have disabled that feature somehow by mistake? (I don't recall disabling it, but can look for this).
Controller Logs
not relevant
Runner Pod Logs
not relevant
Hey @strowk,
You can always use the latest image. I wouldn't advise it, since you should always know what you are running, and it is probably best that you maintain your CI installation regularly. But there is nothing stopping you from specifying a runner image with the :latest tag.
Hey @strowk,
You can always use the latest image. I wouldn't advise it, since you should always know what you are running, and it is probably best that you maintain your CI installation regularly. But there is nothing stopping you from specifying a runner image with the
:latesttag.
@nikola-jokic (sorry, accidentally tagged OP), this doesn't address the issue with this project's official documentation stating the following:
By default, self-hosted runners will automatically perform a software update whenever a new version of the runner software is available. If you use ephemeral runners in containers then this can lead to repeated software updates when a new runner version is released. Turning off automatic updates allows you to update the runner version on the container image directly on your own schedule.
This behavior is not what happens when someone is using the actions-runner-controller. The documentation is not only not reflective of what this project does, but the controller's behavior itself is disruptive for anyone that's pinning a runner version and assumes that the runner, managed by ARC, will behave like other runners.
In fact, like @strowk pointed out the controller hard codes the opposite behavior for runners which makes this a setting we can't even control on the end-user side.
Please consider reopening and fix @nikola-jokic , as you can see users disagree with the hardcoded changes
getting this error
An error occurred: Runner version v2.334.0 is deprecated and cannot receive messages
can we stop github ARC breaking periodically? we want to use a pinned version
For ARC users: because ARC runs with DisableUpdate, the image tag in your values.yaml is the outage date. GitHub now publishes that date per version (Sep 3 API). gh runner-eol scan ./charts --org <org> reads the pinned actions-runner:2.xxx.x tag and prints how many days it has left; audit does the same for the runners currently registered. https://github.com/canblmz1/gh-runner-eol — a "Missed pin pattern" issue template is there if your values file uses a shape it doesn't catch.