Skip to content

GitHub Actions

CI limits

What to expect from flockvm runners: concurrent runner cap, 6-hour job timeout, queue order, a cold boot per job, image updates and Linux x64 only.

flockvm runners run on one host in France, shared with flockvm's VMs. These are the limits that shape how your jobs start and run.

At a glance

Limit Value
Runner VMs at once 4 on the host, across all organizations; the host's 30 vCPUs, shared with every other VM, allow 4 flockvm-small, 4 flockvm, 3 flockvm-large or 1 flockvm-xlarge at once
Job timeout 6 hours
Queue order Oldest first; a smaller job may pass a bigger one that does not fit yet
Start-up A cold boot per job, about 25 seconds before your first step
Cache between jobs None
Platforms Linux x64 only
Repositories Private only
Sizes Those the host can hold: all four labels today, flockvm-xlarge one job at a time
During the free trial No job runs: CI starts with the paid plan, and every new job is held until the first plan payment (see CI during the trial)

Concurrent runners

At most 4 runner VMs exist at once on the host. More jobs wait queued until one ends. The host has 30 vCPUs for all its VMs, so in practice that is 4 flockvm-small jobs, 4 flockvm jobs, 3 flockvm-large jobs or 1 flockvm-xlarge job at once, with nothing else running. Runner VMs also share the host's RAM, vCPU and disk with the other VMs on it, so a job can wait even below that cap when the host is busy.

A large matrix still works: its jobs queue and run in turn. To keep a workflow from taking every slot, cap it with max-parallel.

jobs:
  test:
    strategy:
      max-parallel: 2
      matrix:
        shard: [1, 2, 3, 4, 5, 6]
    runs-on: flockvm
    steps:
      - uses: actions/checkout@v4
      - run: npm ci && npm test -- --shard=${{ matrix.shard }}/6

Queueing

  • Queued jobs start oldest first.
  • A job whose size does not fit on the host right now waits, and so do the other jobs of that size behind it, so the oldest of them goes first.
  • A smaller job may pass it in the meantime: a flockvm-small job can start while a flockvm-large one waits for room.
  • A queued job costs nothing. Billing starts when its VM is created.

The Queued column of the CI page shows how long each job waited.

Job timeout

A job may run for 6 hours. After that, flockvm deletes its VM and marks the job failed with the job ran over 6h0m0s (FLOCK_CI_JOB_TIMEOUT). You pay for the 6 hours.

Set a shorter limit on your jobs with timeout-minutes, so a stuck job stops early:

jobs:
  test:
    runs-on: flockvm
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4
      - run: make test

Cold boot each job

There is no warm pool: every job boots a new VM. Before your first step runs, the VM boots and the GitHub runner registers, which takes about 25 seconds. You pay for those seconds, as for the rest of the VM's life.

Nothing a job downloads is kept for the next: no Docker layer cache, no dependency folder. The image's tool cache is there in every job. Use actions/cache or the cache: option of actions/setup-* to restore dependencies, and registry caches for Docker builds. See Workflows.

Runner image updates

flockvm builds its runner image (ubuntu-26.04-runner) with a pinned version of the GitHub Actions runner, and rebuilds it when GitHub ships a new runner release: GitHub refuses runners that are more than 30 days behind. Package versions in the image can change at each rebuild. If your job depends on an exact version of a tool, install that version in the job.

Linux x64 only

Runners are Linux x64 (Ubuntu 26.04). There is no Ubuntu 24.04, macOS, Windows or arm64 runner. Keep jobs that need one of those on GitHub-hosted runners, in the same workflow if you like (a job that only relied on the defaults of flockvm's former 24.04 image: see Moving a workflow from Ubuntu 24.04):

jobs:
  linux:
    runs-on: flockvm
    steps:
      - uses: actions/checkout@v4
      - run: make test
  macos:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v4
      - run: make test

Sizes the host can hold

The CI page lists only the labels the host can run. Today the host in France can hold every size, flockvm-xlarge (16 vCPU, 32 GB) included, one such job at a time. A job that asks for a size a host cannot hold at all fails at once with size xlarge is not available on this host, at no cost. See Labels and prices.

Billing window

A job bills from the creation of its VM to its deletion, by the second, at the label's CI price. A job cancelled while still queued, refused, or that never got a VM costs nothing. A job cancelled while it runs bills the seconds its VM ran.

Next steps