Skip to Content
Tukang

Dashboard

What the dashboard shows, its JSON, and how to keep it private.

curl -s http://127.0.0.1:8080/api/state | jq '.repos[] | {name, state: .slot.state}'

The dashboard at / is a page over that JSON, refreshed every 3 s. It's read-only: it can't start, cancel or rerun anything.

What it shows

  • The header: running jobs out of TUKANG_MAX_JOBS, your label, free disk (when TUKANG_MIN_FREE_GB is set) and the GitHub API calls left this hour.
  • Repos: each repo with its runner's state, the workflow and job it's running with a link to the run, how long it's been in that state and the container's memory. An idle repo shows when it was last polled. A repo whose poll failed shows the error.
  • Recent jobs: the last 30 of the 100 kept, with the result, how long the job ran, how long it waited for the gate, its peak memory and when it ended. Links go to the job on GitHub.
  • Activity: the last 100 events (runners started and removed, gate refusals, poll errors, a runner's last log lines when it exits with an error).

Endpoints

PathPasswordWhat it is
GET /yes, when setThe dashboard
GET /api/stateyes, when setEverything the dashboard shows, as JSON
GET /healthnook, for healthchecks
POST /internal/started, GET /internal/gonoThe job hook. Each call needs that job's own token.

Keep it private

The dashboard shows repo names, branches and job names. compose.yaml publishes it on 127.0.0.1:8080 only. To reach it from elsewhere, put it behind your proxy or tunnel with its own login, or set a password:

TUKANG_PASSWORD='a long random string' docker compose up -d

The browser then asks for it. Any username works. Use TUKANG_PASSWORD_FILE to read it from a Docker secret instead.

Job containers reach serve on its Docker network address, not through your proxy, so a login in front of the dashboard doesn't get in their way.

On this page