Operate Search docs

Runner routing

Runner routing chooses a runner provider for a job by tier and cost; it is routing, not a fleet. Given a job and the providers an account has connected, the balancer returns every provider that could take the job, best first, and a coded reason for each one that could not. Nothing is chosen silently.

Same path as placement

StepQuestionDecided by
EligibilityCan this provider run the job at all?Visibility, ownership, Docker, forks, isolation, health, free slots, and whether the queued label can still reach it
PriceWhat does the job add to this month’s bill?The pricing engine, ranked by the Dispatcher
PolicyIs that cost allowed?The budget policy, with the same measurements CI admission uses

The three are asked in order and never merged: a provider that cannot run the job is not priced, and a price is not an admission.

Tiers come before price

A cheaper provider in a later tier never jumps the queue.

TierMeaningDefault members
primaryCapacity you already pay forThe box, an agent’s own box
overflowRented capacity, ranked by priceA remote ARC scale set, Boat, Agent37, Jog, Modal, Blacksmith, Depot
last-resortConsidered only when nothing else is admittedGitHub-hosted runners

GitHub-hosted runners are last by default even on a public repository, where they are free. Policy can move a provider to another tier. Providers that cost the same keep the order they were listed in.

Worked decisions

Each table is the balancer’s real output for a 20-minute job: the whole catalog connected, a three-slot box, every paid plan already open. They are regenerated from the code.

A pull request while the box has room

A pull request on a public, organization-owned repository. The box is first because it is already paid for; everything after it is what the job would fall to.

RankMemberTierJob asks forAdds to the bill
1HoBo box workerprimaryhobo$0
2Blacksmith runneroverflowblacksmith-4vcpu-ubuntu-2404$0 (included minutes)
3Lizard runneroverflowlizard-medium-ubuntu-2404$0 (included minutes)
4Cloudflare Sandboxoverflowhobo$0 (included minutes)
5Agent37 VM instanceoverflowhobo$0.01044
6Boat sandbox (API)overflowhobo$0.012
7Freestyle VMoverflowhobo$0.08816
8Daytona sandbox (Linux VM)overflowhobo$0.1104
9E2B sandbox (Hobby)overflowhobo$0.1104
10E2B sandbox (Pro)overflowhobo$0.1104
11Blaxel sandboxoverflowhobo$0.1104
12Modal Sandboxoverflowhobo$0.15864
13Runloop Devboxoverflowhobo$0.2112
14GitHub-hosted runner (public repository)last-resortubuntu-24.04$0
Not chosenCodeWhy
Box of the agent that opened the pull requestfleet.dockermember has no Docker daemon
Remote actions-runner-controller scale setfleet.isolationjob requires a machine nothing else shares; this member is shared
Boat CI runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
Jog runnerfleet.visibilityprovider does not serve public repositories
Daytona sandbox (container)fleet.isolationjob requires a machine nothing else shares; this member is shared
Lizard sandbox (API)fleet.dockermember has no Docker daemon
Northflank sandboxfleet.dockermember has no Docker daemon
Depot runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
GitHub-hosted runner (private repository)fleet.visibilityprovider does not serve public repositories

The same pull request, box full

The box drops out with fleet.capacity. The cheapest rented provider that may serve a public repository takes the job: Blacksmith, because the job fits inside its included minutes.

RankMemberTierJob asks forAdds to the bill
1Blacksmith runneroverflowblacksmith-4vcpu-ubuntu-2404$0 (included minutes)
2Lizard runneroverflowlizard-medium-ubuntu-2404$0 (included minutes)
3Cloudflare Sandboxoverflowhobo$0 (included minutes)
4Agent37 VM instanceoverflowhobo$0.01044
5Boat sandbox (API)overflowhobo$0.012
6Freestyle VMoverflowhobo$0.08816
7Daytona sandbox (Linux VM)overflowhobo$0.1104
8E2B sandbox (Hobby)overflowhobo$0.1104
9E2B sandbox (Pro)overflowhobo$0.1104
10Blaxel sandboxoverflowhobo$0.1104
11Modal Sandboxoverflowhobo$0.15864
12Runloop Devboxoverflowhobo$0.2112
13GitHub-hosted runner (public repository)last-resortubuntu-24.04$0
Not chosenCodeWhy
HoBo box workerfleet.capacityall 3 slots are in use
Box of the agent that opened the pull requestfleet.dockermember has no Docker daemon
Remote actions-runner-controller scale setfleet.isolationjob requires a machine nothing else shares; this member is shared
Boat CI runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
Jog runnerfleet.visibilityprovider does not serve public repositories
Daytona sandbox (container)fleet.isolationjob requires a machine nothing else shares; this member is shared
Lizard sandbox (API)fleet.dockermember has no Docker daemon
Northflank sandboxfleet.dockermember has no Docker daemon
Depot runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
GitHub-hosted runner (private repository)fleet.visibilityprovider does not serve public repositories

A push to main on a private repository, box full

A private repository’s trunk job does not need its own machine, so the shared ARC cluster is allowed, and wins: rented-tier capacity that adds nothing to the bill.

RankMemberTierJob asks forAdds to the bill
1Remote actions-runner-controller scale setoverflowhobo-arc$0
2Jog runneroverflowjog-4vcpu$0 (included minutes)
3Blacksmith runneroverflowblacksmith-4vcpu-ubuntu-2404$0 (included minutes)
4Depot runneroverflowdepot-ubuntu-24.04-4$0 (included minutes)
5Lizard runneroverflowlizard-medium-ubuntu-2404$0 (included minutes)
6Cloudflare Sandboxoverflowhobo$0 (included minutes)
7Agent37 VM instanceoverflowhobo$0.01044
8Boat CI runneroverflowboat$0.012
9Boat sandbox (API)overflowhobo$0.012
10Freestyle VMoverflowhobo$0.08816
11Daytona sandbox (Linux VM)overflowhobo$0.1104
12Daytona sandbox (container)overflowhobo$0.1104
13E2B sandbox (Hobby)overflowhobo$0.1104
14E2B sandbox (Pro)overflowhobo$0.1104
15Blaxel sandboxoverflowhobo$0.1104
16Modal Sandboxoverflowhobo$0.15864
17Runloop Devboxoverflowhobo$0.2112
18GitHub-hosted runner (private repository)last-resortubuntu-24.04$0.12
Not chosenCodeWhy
HoBo box workerfleet.capacityall 3 slots are in use
Box of the agent that opened the pull requestfleet.dockermember has no Docker daemon
Lizard sandbox (API)fleet.dockermember has no Docker daemon
Northflank sandboxfleet.dockermember has no Docker daemon
GitHub-hosted runner (public repository)fleet.visibilitythis machine class serves public repositories only

A job that is already waiting

The job is queued on the label hobo. A queued job cannot change its label, so every label provider is out with fleet.label-bound; only injected capacity can still reach it.

RankMemberTierJob asks forAdds to the bill
1Cloudflare Sandboxoverflowhobo$0 (included minutes)
2Agent37 VM instanceoverflowhobo$0.01044
3Boat sandbox (API)overflowhobo$0.012
4Freestyle VMoverflowhobo$0.08816
5Daytona sandbox (Linux VM)overflowhobo$0.1104
6E2B sandbox (Hobby)overflowhobo$0.1104
7E2B sandbox (Pro)overflowhobo$0.1104
8Blaxel sandboxoverflowhobo$0.1104
9Modal Sandboxoverflowhobo$0.15864
10Runloop Devboxoverflowhobo$0.2112
Not chosenCodeWhy
HoBo box workerfleet.capacityall 3 slots are in use
Box of the agent that opened the pull requestfleet.label-boundjob is already queued on hobo; this member serves hobo-local-host
Remote actions-runner-controller scale setfleet.label-boundjob is already queued on hobo; this member serves hobo-arc
Boat CI runnerfleet.label-boundjob is already queued on hobo; this member serves boat
Jog runnerfleet.label-boundjob is already queued on hobo; this member serves jog-4vcpu
Daytona sandbox (container)fleet.isolationjob requires a machine nothing else shares; this member is shared
Lizard sandbox (API)fleet.dockermember has no Docker daemon
Northflank sandboxfleet.dockermember has no Docker daemon
Blacksmith runnerfleet.label-boundjob is already queued on hobo; this member serves blacksmith-4vcpu-ubuntu-2404
Depot runnerfleet.label-boundjob is already queued on hobo; this member serves depot-ubuntu-24.04-4
Lizard runnerfleet.label-boundjob is already queued on hobo; this member serves lizard-medium-ubuntu-2404
GitHub-hosted runner (public repository)fleet.label-boundjob is already queued on hobo; this member serves ubuntu-24.04
GitHub-hosted runner (private repository)fleet.label-boundjob is already queued on hobo; this member serves ubuntu-24.04

The budget is spent

A $5 budget with $5 committed. Every provider that would add to the bill is refused by the budget policy, and the job falls through to capacity that costs nothing.

RankMemberTierJob asks forAdds to the bill
1Blacksmith runneroverflowblacksmith-4vcpu-ubuntu-2404$0 (included minutes)
2Lizard runneroverflowlizard-medium-ubuntu-2404$0 (included minutes)
3Cloudflare Sandboxoverflowhobo$0 (included minutes)
4GitHub-hosted runner (public repository)last-resortubuntu-24.04$0
Not chosenCodeWhy
HoBo box workerfleet.capacityall 3 slots are in use
Box of the agent that opened the pull requestfleet.dockermember has no Docker daemon
Remote actions-runner-controller scale setfleet.isolationjob requires a machine nothing else shares; this member is shared
Boat CI runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
Jog runnerfleet.visibilityprovider does not serve public repositories
Daytona sandbox (container)fleet.isolationjob requires a machine nothing else shares; this member is shared
Lizard sandbox (API)fleet.dockermember has no Docker daemon
Northflank sandboxfleet.dockermember has no Docker daemon
Depot runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
GitHub-hosted runner (private repository)fleet.visibilityprovider does not serve public repositories
Agent37 VM instancebudget.policy.exhaustedprojected commitments exceed the budget
Boat sandbox (API)budget.policy.exhaustedprojected commitments exceed the budget
Freestyle VMbudget.policy.exhaustedprojected commitments exceed the budget
Blaxel sandboxbudget.policy.exhaustedprojected commitments exceed the budget
Daytona sandbox (Linux VM)budget.policy.exhaustedprojected commitments exceed the budget
E2B sandbox (Hobby)budget.policy.exhaustedprojected commitments exceed the budget
E2B sandbox (Pro)budget.policy.exhaustedprojected commitments exceed the budget
Modal Sandboxbudget.policy.exhaustedprojected commitments exceed the budget
Runloop Devboxbudget.policy.exhaustedprojected commitments exceed the budget

The box is short of a resource

The box has free slots, but its host health is critical. It is skipped with fleet.unhealthy.

RankMemberTierJob asks forAdds to the bill
1Blacksmith runneroverflowblacksmith-4vcpu-ubuntu-2404$0 (included minutes)
2Lizard runneroverflowlizard-medium-ubuntu-2404$0 (included minutes)
3Cloudflare Sandboxoverflowhobo$0 (included minutes)
4Agent37 VM instanceoverflowhobo$0.01044
5Boat sandbox (API)overflowhobo$0.012
6Freestyle VMoverflowhobo$0.08816
7Daytona sandbox (Linux VM)overflowhobo$0.1104
8E2B sandbox (Hobby)overflowhobo$0.1104
9E2B sandbox (Pro)overflowhobo$0.1104
10Blaxel sandboxoverflowhobo$0.1104
11Modal Sandboxoverflowhobo$0.15864
12Runloop Devboxoverflowhobo$0.2112
13GitHub-hosted runner (public repository)last-resortubuntu-24.04$0
Not chosenCodeWhy
HoBo box workerfleet.unhealthymember’s circuit breaker is open
Box of the agent that opened the pull requestfleet.dockermember has no Docker daemon
Remote actions-runner-controller scale setfleet.isolationjob requires a machine nothing else shares; this member is shared
Boat CI runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
Jog runnerfleet.visibilityprovider does not serve public repositories
Daytona sandbox (container)fleet.isolationjob requires a machine nothing else shares; this member is shared
Lizard sandbox (API)fleet.dockermember has no Docker daemon
Northflank sandboxfleet.dockermember has no Docker daemon
Depot runnerfleet.visibilitypublic repositories are off at this provider until the owner turns them on
GitHub-hosted runner (private repository)fleet.visibilityprovider does not serve public repositories

Refusal codes

Three families, all stable. The full list with retry guidance is in Errors & codes.

FamilyRaised byExample
fleet.Runner routing’s own eligibility and ceilings (the prefix is kept for compatibility)fleet.capacity
pricing.The pricing engine, with its own code after the prefixan expired rate
budget.The budget policy, with its own code after the prefixbudget.policy.exhausted

Call it yourself

The balancer is a pure function in @hobo/ci: no I/O, no clock.

import {
  balanceRunnerProviders,
  runnerAccountExposure,
  runnerBudgetPolicy,
  runnerProvidersFromAccount,
} from "@hobo/ci";

const decision = balanceRunnerProviders({
  members: runnerProvidersFromAccount(account, leases, {
    poolLabel: "hobo",
    hoboCapacity: verdict.capacity, // optional: the hobo fleet's FleetCapacity
  }),
  demand: {
    id: "acme/app:1001:1:1",
    minutes: 20,
    repository: { visibility: "public", ownerType: "organization" },
    forkPullRequest: false,
    needsDocker: true,
    isolationRequired: true,
  },
  policy: runnerBudgetPolicy(account),
  ...runnerAccountExposure(account, leases),
  now: new Date().toISOString(),
  allowNewProviderAgreements: false,
});

decision.selected; // the best admitted provider, or undefined: the job waits
decision.ranking; // every admitted provider, best first
decision.refusals; // [{ memberId, code, reason }]

runnerProvidersFromAccount builds the provider list from the offers an account really has. Given the hobo fleet’s FleetCapacity from its fleet verdict, the hobo provider’s health and active jobs are read from it rather than from the relay’s own leases. The offer supplies what was observed for that account: rate, included minutes, ceiling. The model supplies what does not vary by account: rounding, plan fee, eligibility, tier.

What balancing is not

  • Not admission of a queued job: a job already waiting on hobo is still admitted in the existing box → ARC → GitHub order. The balancer decides ahead of the queue.
  • Not a launcher: Agent37, Modal and Boat sandboxes appear in these decisions because they are modelled, but no host driver starts a runner on them yet.
  • Not a health monitor for rented providers: only the hobo fleet reports its health, through its capacity.
  • Not a way to open paid plans: placing a job never subscribes to anything unless policy allows it.

Providers · Runner routes · Host health · Continuous migration