Where is the new "system_id" in the runners API?

The new runner registration flow allows you to register multiple runners on different systems against the same runner ID, with each system getting its own system ID, stored in .runner_system_id locally.

But the system ID doesn’t appear anywhere in the API?

For example, you don’t get a list of system IDs per runner when you enumerate /api/v4/runners/ nor do you see which of the systems actually ran the job in /api/v4/runners/X/jobs.

This seems an important piece of information for autoscaling etc. and we need it for status monitoring.

We’re self hosted, running 16.4.0

3 Likes

I don’t know if it is just me, but the runners API is only showing me the details of the most recently contacted instance for any given runner id, so you can’t even tell how many runners you actually have from the API…

Self hosted, 16.7.0 (gitlab-ee free tier and gitlab-runners).

Yes I’m wary of this. We can’t see them, access them, do they expire all by themselves or will we hit some undocumented limit and can no longer add new machines?