—Configure delivery

Run tests on your own server.

V19 Runner runs a repository's tests on a server you rent instead of GitHub Actions. GitHub keeps storing the code. V19 picks the commits to test, the runner tests them in a locked-down container, and V19 posts the result on GitHub as the commit status v19/tests. Nothing runs until an owner or admin switches a server on.

01

Set it up

  1. Add a server under Cockpit → Hosting → Add server. For a machine that only runs tests, add --runner-only to the install command it shows. That mode starts no web server and opens no ports.
  2. Open Cockpit → Runners, set the CPUs and memory test jobs may use on that server, and choose Run test jobs here. Only owners and admins can do this; Stop running test jobs switches it off again.
  3. Add .v19/ci.json to the repository and push a commit.
{
  "image": "node:24-bookworm",
  "timeoutMinutes": 45,
  "packages": ["jq"],
  "steps": [
    { "name": "Install dependencies", "run": "npm ci", "timeoutMinutes": 15 },
    { "name": "Test", "run": "npm test" }
  ]
}
  • image must be an official Node.js image on Debian, such as node:24 or node:24-bookworm-slim, optionally pinned with @sha256:. Alpine images are refused.
  • Up to 20 steps. Each step has its own timeout of at most 60 minutes, and no step runs longer than the job's timeoutMinutes.
  • packages lists up to 20 Debian packages installed before the first step. The Node.js image already has git, curl, gpg and openssl; list anything else your tests call.
  • env holds plain settings only. Secrets aren't supported, so don't put them in the file.

02

Which commits run

  • Every new head of a pull request from a branch of the same repository (opened, reopened, new commits, marked ready).
  • Every push to the default branch.
  • Pull requests from forks never run on your server.
  • Each commit is tested once. If .v19/ci.json is invalid, V19 records a failed job and the status on GitHub says why.

The V19 merge check counts v19/tests like any other test, so a failing run blocks the merge in V19. Once you add v19/tests as a required check in your branch protection, it blocks the merge on github.com too. If the V19 GitHub App hasn't been granted Commit statuses: read and write, jobs still run and show in V19, marked "not shown on GitHub yet".

03

Jobs, logs, cancel, run again and speed against GitHub

Runners lists every job with its result and time. Open a job to see its steps and the last 200 KB of its log. People who may apply changes can Cancel a job: a queued job stops at once, a running one within about 3 seconds. They can also Run again a job that failed, timed out or was cancelled by a person (for example a flaky test or a runner that died): the same commit goes back in the queue, v19/tests on GitHub goes back to pending and the merge check waits for the new result. A job stopped because a newer commit arrived, or one whose .v19/ci.json was invalid, can't run again: test the newer commit, or fix the file in a new commit. The desktop app offers the same on a pull request as Run tests again.

Each job shows where its time went: how long it waited for a runner and how long it ran. If the wait is the bigger number, add a second server or raise the limits; if the run is, look at the steps.

When a pull request gets a new commit, V19 stops testing the older one by itself: a queued job is cancelled and a running one stops within about 3 seconds, marked "stopped because a newer commit was pushed". Pushes to the default branch are never stopped this way and are picked up before pull requests, so a release isn't held up behind a queue of branches.

After a job finishes, V19 looks up the GitHub Actions runs for the same commit and shows the two times side by side, both measured from the push so both include waiting for a machine. The box at the top compares the median of recent passing runs. When V19 is slower, the page says so.

Cockpit Runners page with one server running test jobs, a speed comparison against GitHub Actions and five test jobs
Runners with Northwind Bank's sample data: one server switched on, the speed against GitHub, and test jobs that passed, failed and are still running.

04

What a test job can and can't do

  • It runs in a fresh container on its own network. It can't reach the hosting network or databases on the same machine, and the cloud metadata address is blocked.
  • Steps run as a normal user with CPU, memory, process-count and time limits. The container is removed when the job ends.
  • The job never gets a GitHub token, the server agent's credential or any V19 secret. The runner downloads the code through a link that works for a few minutes and only for that commit.
  • A shared cache folder keeps the npm cache between jobs on the same server, which makes later runs faster.
  • A runner that stops reporting for 3 minutes loses its job, and a job no runner picks up within 6 hours is cancelled. The status on GitHub says why.

Every server change, finished job, cancel request and run-again request is in the audit log.

Limits today

Linux only. One job at a time per server; more servers in the workspace share the queue. Jobs don't get services such as Postgres yet. Builds for macOS and Windows stay on GitHub Actions.