Monk CIMonk CI home

22 Nov, 2026Akshit Mandial

What Happens When a Job Runs on Monk CI


See how a GitHub Actions job runs on Monk CI, from the webhook to a fresh VM to cleanup, and where to look if a job needs attention.

GitHub Actions job on Monk CI starts with the webhook GitHub sends for a queued job and ends with the deletion of the VM that ran it. If you know the steps, you know where to look when a job needs attention.

GitHub sends a webhook

When GitHub queues your job, it sends Monk CI an event.  Your job shows as queued on GitHub while Monk CI runs these three checks:

  1. The repository belongs to an organization with the Monk CI app installed.
  2. The job has a valid `monkci-` label in runs-on.
  3. Your plan allows the job.

If the plan check fails, Monk CI adds a check run named “Monk CI: Eligibility” to the run. The check explains why Monk CI blocks the job.

Monk CI claims a VM

Monk CI keeps a pool of warm VMs for each label. It claims one VM for your job, so no other job can use it. Warm VMs are already running, so your job does not wait for a boot. If the pool has no free VM, Monk CI starts or creates one, and your job waits a little longer.

The runner registers

MIGlet is the agent on each VM. It registers a GitHub Actions runner in your organization. The runner joins a runner group that Monk CI creates when you install the app. This runner is ephemeral, so it takes one job. Then GitHub removes it.

The job runs

The runner is built from GitHub's Actions runner, so your steps run as they do on any runner. Current versions of `actions/cache` use the Monk CI cache service.
For Docker builds, add the `setup-docker-builder` action. It gives your repository a persistent BuildKit cache. It also sets the `MONKCI_BUILDER` variable, so make your build step use that builder.
MIGlet uploads the job logs to Monk CI. The AI Log Summary reads them when a build fails.

Cleanup

When the job ends, MIGlet uploads the final logs and reports the result. Monk CI deletes the VM after every job, passed or failed. It also records the minutes the job used.

Then Monk CI refills the pool, so the next job gets a fresh VM.

Troubleshooting

Start with the step that matches what you see.

  • If the job has no Monk CI check run, go to step 1. Check the label in runs-on, and confirm that the repository is in an organization with the Monk CI app installed.
  • If the job has a "Monk CI: Eligibility" check run, read the reason in the check and fix it. Then cancel the run and re-run it.
  • If a build fails, the job reached step 4. Open the run's logs. The AI Log Summary points to the likely cause.

Before you move a workflow, read the compatibility checklist. To see how Monk CI keeps jobs apart, read why each job gets its own VM.

Try Monk CI for free

Continue with GitHub