actions / actions/actions-runner-controller

migrating runner-scale-set by uninstall and reinstall helm release removes newly registered runner group

Open
#3,372 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug gha-runner-scale-set
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

Checks
Controller Version

0.8.3

Deployment Method

Helm

Checks
  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • 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. Follow the official guide to deploy `gha-runner-scale-set-controller` and `gha-runner-scale-set` `demo-runner-group`

2. Set up a new cluster (environment) for migration testing, deploy `gha-runner-scale-set-controller` with the same credential.

3. When `demo-runner-group` still have several active runners, uninstall the `gha-runner-scale-set` `demo-runner-group` helm release from the old cluster.

4. Install the same `gha-runner-scale-set` `demo-runner-group` helm release in the new environment.

5. New actions begin to use the newly registered `demo-runner-group`, nothing is wrong here.

6. Wait for the old runners finished building, and the newly registered runner group is suddenly removed from the GitHub runners settings view.
Describe the bug

Newly registered runner group got removed by the controller when migration.

Describe the expected behavior

Newly registered runner group does not get removed by the controller when migration.

Additional Context
Not available.
Controller Logs
Not available.
Runner Pod Logs
Not available.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no source files, tests, or controller entry points. Start by reproducing the documented Helm uninstall/reinstall migration sequence with active runners, then trace the controller behavior when the old runners finish. Done means the newly registered runner group remains present after migration; controller and runner logs are needed to validate the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, helm, kubernetes
Domain
ci-cd, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.