# Mapier Pod CI/QA

**Coding agents spend much of their time waiting on tests and CI.**

Pod CI/QA gives that time back.

Who uses it: Teams whose coding agents run long tasks, and studios that want every build clicked through.

[Book a demo](https://cal.com/mapier-homin/30min) · [Mapier Pod](https://mapier.ai/pod) · [Index for agents](https://mapier.ai/pod/llms.txt)

## Switch the runner, keep the workflow

Change one line and the workflows you already have run on Pod.

`ci.yml`, one line changes:

```diff
jobs:
  test:
-   runs-on: ubuntu-latest
+   runs-on: pod-4
    steps:
      - uses: actions/checkout@v4
      - run: make test
```

1. **Install the GitHub App**: On your GitHub organization, connected from Pod's dashboard.
2. **Choose the repositories**: Pick the ones the App may serve.
3. **Change `runs-on`**: Swap ubuntu-latest for a Pod label, and push.

- An owner of your Pod organization connects the App to a Pod project, after a recent second-factor check.

## Where a run's time comes back

- **Restored, never booted**: Every runner is restored from a ready-to-run image instead of booting an operating system.
- **Whole cores**: Dedicated CI servers, and every core in a label is a whole processor core.
- **The tools are already there**: Built with GitHub's own runner-image scripts and rebuilt every week.
- **Warm folders**: Package stores and build caches, built ahead and attached to each trusted job.
- **Warm snapshots**: The whole machine saved warm, its services running and dependencies in place.
- **A cache beside the runners**: Your cache steps, unchanged, answered from the runners' own data center.
- **Many jobs at once**: Every agent's pull request runs side by side, each job on a machine of its own.
- **Only the failed check runs again**: After a fix, checks whose declared inputs are unchanged reuse their earlier pass.
- **A failed machine, kept**: Sign in to a failed job's machine and see what it left behind.

- Trusted jobs are pushes, scheduled and manual runs, and pull requests a person opens from a branch of the same repository; pull requests from forks and bots start from the plain runner image.
- Warm folders are listed in your repository's pod.yaml and built from your default branch in a run of Pod's own with no secrets.
- Warm snapshots are saved for the runner labels your repository names, and restore only while every queued job is trusted, on the image and hardware they were saved on.
- A check reuses its pass only when every input file it declares is unchanged on the same runner image, for trusted pull requests, and the main branch always runs every check.
- A failed machine is kept for a set time only when the repository is set to keep failures and the job was trusted, and only the run's starter and the repository's admins can sign in.
- Cache entries are kept apart the way GitHub keeps its own, and jobs run up to your account's limit on cores in use.

## The same push, two ways

An agent writes a change in moments, then waits on CI. On a long task it pays that wait on every push.

**On a shared runner, the agent waits.** Each push waits for a runner, boots and installs everything again.

- wait for a runner: queued
- boot a fresh machine: booting
- install deps: from scratch

**On Pod, the agent keeps working.** The same push restores your repository's warm snapshot, dependencies in place.

- restore warm snapshot: restored
- install deps: already there
- make test: running

- **The agent sits idle**: It polls a check it cannot speed up.
- **Its budget burns**: Every poll and retry spends tokens the task needed.
- **The person waits too**: Review waits on the checks.

## One label picks the machine

The number in a label is its count of whole cores, with four gigabytes of memory for each. Every runner is a full Linux virtual machine with root, so Docker just works.

`sizes.yml`:

```yaml
jobs:
  lint:
    runs-on: pod-2   # two cores, eight gigabytes
  test:
    runs-on: pod-4   # four cores, sixteen gigabytes
  build:
    runs-on: pod-8   # eight cores, thirty-two gigabytes
```

`labels.yml`:

```yaml
# Exactly one Pod label per job. GitHub's standard
# self-hosted labels may stand beside it, in any letter case.
runs-on: [self-hosted, linux, x64, pod-4]
# A job that adds any other label, or a second
# Pod label, is not picked up by Pod CI.
```

## Then agents click through your app

A QA agent works through your built app on a real screen, the way a person would. Results land on your pull request as a check, and as JSON.

- **Five systems**: macOS, Windows, iOS, Android and Linux.
- **Plans in plain words**: Each step says what to do and what must be true.
- **Two looks must agree**: Anything in between is reported as unstable, never a pass.

## A clean machine per job, a small App

The GitHub App never asks for your repositories' Administration permission and never gets a token that can write your code.

- **A fresh machine per job**: Used for that one job, then deleted.
- **A runner group per repository**: Its runners take only its jobs.
- **No keys in a job**: Jobs never receive your Pod keys or model keys.

- GitHub passes no secrets to pull requests from forks, and every GitHub token Pod asks for is narrowed to what a call needs and lasts an hour at most.
- On a public repository you allow, an outside contributor's job runs at most on the four-core label, or the two-core one if you choose.
- Jobs reach the public internet, while internal addresses, private networks, cloud metadata addresses and outbound mail are blocked.

## Priced with you

We set the price of each runner size with you. What a bill is based on is the same for everyone.

- **By the second**: Billed while a job runs, rounded up to a whole second.
- **Nothing for waiting**: Queue time and runners without a job are free.
- **One invoice**: On your Pod invoice, on a line of its own.

## Questions, answered

### Which GitHub accounts can use Pod CI?

GitHub organizations on a plan that has runner groups, which GitHub names the Team plan. A public repository stays off until you add it to your allow list, after confirming that GitHub's approval for first-time contributors stays on.

### Do my workflows need rewriting?

Only where they lean on tools the image leaves out, such as Java, .NET, Ruby, PHP or the cloud command-line tools. It is a newer Ubuntu than ubuntu-latest, and a setup action or service container fills a gap.

### Will cloud sign-in from a workflow work?

Identity tokens from a Pod runner say the job ran on a self-hosted runner. A cloud role that demands a GitHub-hosted runner refuses them.

### Why would a job wait?

When your account is over its limit on cores in use, its repository is not served, or Pod has no free capacity. The dashboard says which.

### What does the GitHub App ask for?

Self-hosted runners, read access to Actions and pull requests, metadata, and for QA, write access to checks. These are its main permissions, not a final list.

### How do I start a QA run?

Add a step to a workflow job on a Pod runner, or start a run from the dashboard or Pod's API. Hand it a plan file and one build per system, by web address, upload or download link.

## Give your agents their time back

Install the GitHub App, choose the repositories, change one line.

- [Book a demo](https://cal.com/mapier-homin/30min)
