Runner order | RelayRunner Docs

Runner order

The list a workspace tries runners in, and how to change it.

View as Markdown

For AI agents

The runner order is your workspace’s list of providers, top to bottom. Each job tries the steps in order and uses the first one its relay names that can take it now. Set it on the dashboard’s Router page. Owners and admins can change it.

Steps

Section titled “Steps”

Step Takes the job when
Self-hosted A connected machine or added runner is online, idle, has the relay’s machine labels and is shared with whoever started the job. Never for public repos.
GitHub-hosted The relay names a github label. With a cap, only while the account is under it.
A hosted provider The relay names one of its labels, such as depot-* in the depot input. With a cap, only while the account is under it.

A step that can’t take the job is skipped with a reason, and the next one is tried. Between two steps, the Router page says what sends a job on, such as “Once 2,400 min are used”. Under a step with no cap it warns you, because that provider takes every job it can start and the steps below it rarely run.

Common orders

Section titled “Common orders”

Machines first (the default for a new workspace). Use your own hardware when it’s free, and GitHub otherwise.

Self-hosted

GitHub-hosted

Included minutes first. Spend the minutes your plan includes, then move to your machines before overage, then fall back to GitHub anyway so nothing stalls. See Spend controls .

GitHub-hosted, capped at 80% of included minutes

Self-hosted

GitHub-hosted, no cap

Machines, then a faster provider. Burst to a hosted provider such as Depot when your machines are busy, and keep GitHub as the last resort for jobs that don’t name one.

Self-hosted

Depot

GitHub-hosted

Spread across providers. A provider can come back later in the order with a higher cap, so you can use some of each before you lean on any one of them.

Blacksmith, capped at 50% of its free minutes

GitHub-hosted, capped at 80% of included minutes

Blacksmith, capped at 90% of its free minutes

GitHub-hosted, no cap

Self-hosted can appear once. If a step repeats a provider with the same kind of cap set no higher than an earlier one, no job reaches it, and the Router page marks it “Never reached”.

Caps

Section titled “Caps”

Each hosted step has a cap, set from the button on its card. Once the job’s GitHub account reaches the cap, jobs go to the next step until the month resets. The card shows a bar of this month’s usage with a tick where the cap falls.

The minutes limit

Section titled “The minutes limit”

A GitHub-hosted step can be capped at a share of included minutes, such as 80%. It then takes a job only while the job’s GitHub account has used less than that share of its plan’s included minutes this month. Each account is checked on its own.

If GitHub won’t share an account’s minutes, the cap never blocks its jobs. The Router page shows when that’s the case.

An org that shares its enterprise’s minutes is judged against the enterprise’s, once the App is installed on the enterprise .

Blacksmith’s free minutes

Section titled “Blacksmith’s free minutes”

A Blacksmith step can be capped at a share of Blacksmith’s 3,000 free minutes a month, such as 90%. Connect Blacksmith first, under Settings › Providers or with npx relayrunner blacksmith connect , so its usage is counted. Usage syncs hourly, in the 2-vCPU minutes Blacksmith counts its free minutes in, so a 4-vCPU minute uses two.

Until the first sync, or if Blacksmith stops accepting the token, the cap never blocks and the Router page says so. Put a step after it, such as your machines, GitHub-hosted or Blacksmith again with no cap, for the jobs past it.

Spend limits

Section titled “Spend limits”

A hosted provider’s step, apart from Namespace and RunsOn, can be capped at a monthly spend, such as $200. It then takes a job only while the job’s GitHub account has spent less than that on the provider this calendar month (UTC). Spend is worked out from each finished job’s minutes and the provider’s list price, so it can differ a little from your bill, and jobs still running count once they finish.

A GitHub-hosted step can have a monthly spend cap too. It uses what GitHub has billed the account for Actions this month, as GitHub’s billing reports it. That covers every repo on the account, including ones you don’t route, and GitHub’s billing can lag behind by up to a couple of hours. If GitHub won’t share the account’s billing, the cap never blocks its jobs.

Put another step after a capped one, such as GitHub-hosted or your machines, so jobs past the cap still have somewhere to go.

Boat’s job-start limits

Section titled “Boat’s job-start limits”

Boat’s plans limit how many jobs can start in an hour and in a day. When a job goes over the limit, Boat pauses it, and someone has to re-run it by hand. Connect Boat under Settings › Providers with a Boat API key allowed only the account.read action. The Router then checks how many starts your plan has left before it sends a job to Boat, and sends the job to the next step when Boat has none left.

Without a connection, or if Boat stops accepting the key, a Boat step takes every job it can, and the Router page warns that the steps below it rarely run. Boat waits out its per-minute limit on its own, so that one doesn’t move jobs on.

Groundbox usage

Section titled “Groundbox usage”

Connect Groundbox under Settings › Providers with a Groundbox API key that has only the account:read and billing:read scopes. RelayRunner then tracks your Groundbox usage from Groundbox’s own numbers: minutes used this month (the Free plan includes 3,000, plus $5 of credit), what each job cost, and your spend.

The Router also reads your Groundbox account before it sends a job there. Groundbox holds jobs at the spend caps you set in its dashboard, and on Free once the free minutes and credit are both used. When Groundbox would hold a job, the Router sends it to the next step so it doesn’t wait.

You can also set a minutes limit on a Groundbox step, such as 90% of its free minutes, to budget them. The count is Groundbox’s own, read live and reused for about a minute. Without a connection, or if Groundbox stops accepting the key or can’t be reached, a Groundbox step takes every job it can, and the cap never blocks.

Changes take effect at once

Section titled “Changes take effect at once”

The order applies to the next relay. Nothing in your workflows changes.

A job whose relay uses auto can also try one provider first, set from its workflow under Workflows on the Router page. The rest of the order stays as its fallback.

View as Markdown

For AI agents

Section titled “Steps”

Section titled “Common orders”

Section titled “Caps”

Section titled “The minutes limit”

Section titled “Blacksmith’s free minutes”

Section titled “Spend limits”

Section titled “Boat’s job-start limits”

Section titled “Groundbox usage”

Section titled “Changes take effect at once”

Spend controls

hosted provider

installed on the enterprise

Additional pricing (as published)

The Router page: GitHub-hosted capped at 2,400 included minutes, then self-hosted, Blacksmith capped at 2,700 free minutes and Boat capped at $50 a month and Groundbox capped at 2,700 free minutes, then GitHub-hosted with no cap.The Router page: GitHub-hosted capped at 2,400 included minutes, then self-hosted, Blacksmith capped at 2,700 free minutes and Boat capped at $50 a month and Groundbox capped at 2,700 free minutes, then GitHub-hosted with no cap.