Pod name is not visible in runner details page when using new runner registration workflow
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
With the move to the new runner creation workflow, the runner description is only stored for the configuration in the server (ci_runners table), which is created either in the UI or through the POST /user/runners REST API. In the previous workflow, the Helm chart passed a description consisting of the pod name, which then allowed users to see the pod name in e.g. the runner details page:
| registration token | runner creation in UI |
|---|---|
|
|
To provide the same experience, we'd need to:
- Create a
descriptioncolumn in theci_runner_machinestable, similar to the one inci_runners. - Pass the description used in
gitlab-runner registerback to the server to be incorporated in theci_runner_machinestable. Currently, the challenge is that theci_runner_machinesrecord is created in response to aPOST /runners/verifyAPI call, and it doesn't make sense to add a description in that API. The other API that triggers a creation of theci_runner_machinesrecord is thePOST /jobs/requestendpoint. - Display the
ci_runner_machinesdescription in the runner manager rows, and possibly in other pages which are displaying the runner description.
Created from user report.
Edited by 🤖 GitLab Bot 🤖

