Monk CIMonk CI home

25 Nov, 2026Akshit Mandial

How Monk CI Handles Bursts of Concurrent GitHub Actions Jobs


When many concurrent GitHub Actions jobs start at once, a job can wait in two places: inside GitHub, or at the runner provider. This post explains what Monk CI does during a burst.

Where GitHub holds a job

A matrix can generate up to 256 jobs per workflow run, so one push can start a large burst. The `max-parallel` setting in the matrix strategy limits how many of those jobs run at the same time.

GitHub creates each job and then sends a `workflow_job` webhook to the runner provider. Until the webhook arrives, no provider can see the job.

A concurrency group also holds jobs inside GitHub. A group runs one job at a time and keeps one pending job by default. When a new job joins the group, GitHub cancels the existing pending job, and the new job takes its place. With `queue: max`, the group keeps up to 100 pending jobs and runs them in order. A pending job waits for its group, so a faster runner does not shorten that wait.

Where a job waits for a runner

After the webhook arrives, the job stays in Queued until a runner with a matching label takes it. This is the part that your runner provider controls.

On standard GitHub-hosted runners, your plan sets how many jobs run at the same time: 20 on Free, 40 on Pro, 60 on Team and 500 on Enterprise. Jobs above that limit stay in the queue. GitHub Support can raise these limits.

What Monk CI does during a burst

Monk CI keeps a warm pool of ready VMs for each runner label. Each label has its own pool, so a burst on one label does not use the VMs of another label. Each job claims one VM, registers an ephemeral runner on it and starts. The claim is atomic, so two jobs never get the same VM. You pay per minute for the time your jobs run, and the Monk CI pricing has no charge for idle runners.

When a burst needs more VMs than the warm pool holds, Monk CI counts the jobs that still wait. It starts stopped VMs first, because a start is faster than a create. Then it creates new VMs for the remaining jobs in one batch. If a cloud zone has no capacity, Monk CI tries another zone. It counts the waiting jobs again on every cycle, so a failed create gets another try.

Monk CI does not remove VMs while a job waits. A cancelled job stops counting, so Monk CI does not add a VM for it. Sometimes a job gets a VM, but the runner on that VM never starts the job. Then Monk CI puts the job back in the count, and the job gets another VM. Each new VM is fresh, the same as a VM from the warm pool.

Try Monk CI for free

Continue with GitHub