Runners
A runner is a Linux machine running forge-runner. It connects to Forge, says what it can do,
takes the runs it is given and sends back their output. It keeps nothing Forge depends on: if a
runner goes away, its running runs count as lost and can be retried elsewhere.
Shared runners
The platform runs shared runners for everyone. They come in classes, each with its hardware and its rates for CPU, memory, disk and data sent, and stand in locations, so you can keep your runs in a country or region. Runs on shared runners are billed to the organization at their class's rates.
Your own runners
Join a machine of yours to your organization or one of its projects (add a runner). Its runs stay on your hardware and can use your network. Time on your own runners has a rate of its own, which your plan may make free.
Runner groups and autoscaling
A runner group is for machines that come and go. They join with the group's reusable key, so a machine can join by itself when it boots. Forge can also start and remove a group's machines in your cloud account as runs wait and finish.
Which runner takes a run
A run goes to a runner that fits it:
- it has the labels the run asks for, such as
gpu: "true"or a group's name; - it can run the run's kind: a container, or a VM where the run needs one;
- it has room for the run's CPU and memory;
- it is allowed: a project can be kept to its own and its organization's runners, and runs with secrets only go to runners that may have them.
When no runner fits, the run waits in the queue and its page says why.
Isolation
Each run gets its own container (or virtual machine), its own network and only its own secrets. Runners can use a stronger sandbox for containers, such as a lightweight virtual machine per run.