Skip to content

Watching a job

Where a job's logs, timings and states appear, and how to tell a slow build apart from a long wait for a machine.

Last updated

A job that runs here is still a GitHub Actions job. Its logs stream into the Actions tab on GitHub exactly as they always did, status checks report against the commit, and branch protection sees no difference. Nothing about the pull request experience changes.

The dashboard adds the view GitHub cannot give you: what happened on our side.

Runners in the dashboard lists workflow runs across every connected repository, one row per run. Opening one shows the run's jobs and, where we can read the workflow, how they depend on each other.

Opening a job opens on its Logs, one section per step, with the run it belongs to in the trail above its name (a link to the run's own page; View run on GitHub is beside the title) and one line under it of the repository, branch and commit. The other tabs are Resources (memory, disk, CPU and network over the run), Tests (with a count, and a mark when some failed) and Details. The address keeps the tab (?tab=resources), so a link opens where you were.

Details has the repository, branch, commit, the machine the job asked for (its size and the runs-on label that chose it), who triggered it and the pull request it belongs to — and the two numbers worth having:

  • Waited for a runner. How long the job sat before a machine took it.

  • Ran for. How long it took once one had, and what it cost.

They are shown apart and labelled, because they have completely different causes. A slow build is your workflow; a long wait is us, or a label we do not recognise. For tracking both over time, see How do I track CI metrics in GitHub Actions?.

Ran for is our clock, and it can be longer than the duration GitHub shows for the same job. It starts when the job's machine is up, which is before the GitHub Actions runner inside it has picked the job up. A table of the clock times (queued, runner assigned, started, finished, in UTC to the second) sits under the numbers so the two pages can be set side by side. The job page links to the run on GitHub, and to the job itself when GitHub's id for it was recorded; re-running a job is done on GitHub.

Each step's header in the log shows how long it took and when it began, counted from the first step (+0:11). Search, the first error and the log's other options (timestamps, wrapping, hiding skipped steps, the raw log) are in the bar above it.

statemeans
queuedaccepted from GitHub, waiting for a runner
assignedleased to a machine, not yet confirmed running
runningthe runner has claimed the job on GitHub's side
completedfinished
failedan infrastructure failure, not a failing build
cancelling / cancelledstopped from the job page, on github.com, or by us refusing the run

failed is worth reading carefully: it means the machinery failed, not that your tests did. A build whose tests fail reaches completed, and GitHub reports the failure the way it always does.

A job that stays queued is waiting for a runner, or is not addressed to us at all — see runner labels for the second, which is by far the more common of the two and produces no message anywhere. When we know why a job is waiting, the job page says so rather than leaving you to guess.

Cancelling a job covers the button that stops a job, and what GitHub shows afterwards. Test results covers the Tests tab and the optional comment on a pull request.

A job that completes or fails can be sent to a webhook, an email address or Slack. Notifications has the channels, every event, and how to check that a webhook came from us.