Set it up
- Open the CI tab in the dashboard and choose Install the GitHub App. Pick the account and the repositories that should use Styne runners.
- Back in the dashboard, choose Sign in with GitHub. GitHub confirms that the installation is yours and the account is linked.
- Change the label of a job:
Labels
A label istr-<vcpu>x<gib>: the vCPU count and the memory in GiB. Five labels exist.
A job that names any other
tr- label is not picked up and waits in GitHub’s queue.
What a job runs on
An Ubuntu 24.04 microVM of the size in the label and a 32 GB root disk, running the GitHub Actions runner as therunner user (with
sudo). The image has git, curl, jq, Node 18, Python 3.12, PowerShell 7, Rust and Docker with Buildx. Your workflow installs
everything else the usual way, with actions/setup-go, actions/setup-node and the like.
The Docker daemon starts by itself when the job starts (about a second), so docker build, docker run and docker compose work in the
first step without sudo dockerd &; the runner user is in the docker group. Docker server 29.9.3, Buildx 0.38.2. Nothing is cached
between jobs: every job starts from the same clean image.
Billing
A job is billed per second, from the moment GitHub assigns it to a runner until the job ends, as a VM of its size at the rates in Billing. Runners that are started in advance and wait for a job are not billed to you. An account that is held by the no-credit stop gets no new CI jobs: its jobs stay queued in GitHub, and start again within a minute of credit coming back. A job that is already running is not stopped.Limits
- The number of jobs that run at the same time is limited per label, as in the table above. Further jobs wait in GitHub’s queue and start when a runner frees up.
- A job is stopped by GitHub after 6 hours at most.
- Removing an installation in the CI tab stops new jobs from starting on Styne runners. The GitHub App stays installed on GitHub until you remove it there.
Security
A job is customer code, so a runner is isolated like any other Styne VM: its own kernel, no access to the host or to other VMs, and the same network limits as a sandbox. A runner takes its job’s credentials once, at start, and the VM is destroyed when the job ends: nothing from one job is visible to the next. The GitHub App asks only for the permissions it needs to register runners, read job status and start the workflows you start withPOST /ci/jobs.
Start and read jobs from the API
Jobs are listed in the dashboard’s CI tab, and the API reads and starts them with your API key. Every call sees only the jobs of your account: another account’s job id answers404.
POST /ci/jobs runs a workflow of a repository your GitHub App installation covers. The workflow needs an
on: workflow_dispatch trigger, and its jobs name a tr- label, so they run on Styne runners:
201 with the job, status queued. ref is main when left out; inputs are the workflow’s
workflow_dispatch inputs (env is accepted as the same). A request the job cannot start from is refused with the reason:
GET /ci/jobs/{id} reads one job from queue to finish, and GET /ci/jobs lists your jobs, newest first (limit, 50 by
default, at most 1000). Jobs GitHub starts on its own (a push, a pull request) are listed as well, with ids of their own. A job
carries:
GET /ci/jobs/{id}/steps reads the steps alone, GET /ci/jobs/{id}/logs sends the job’s log as server-sent events (one
event per line, from line from), and GET /ci/queue lists the jobs still waiting for a runner.