# We changed CI four times since July. The cheapest one per PR is the one we switched off.

> Source: <https://dev.to/vousmeevoyez/we-changed-ci-four-times-since-july-the-cheapest-one-per-pr-is-the-one-we-switched-off-2mcb>
> Published: 2026-11-30 03:07:03+00:00

**Recommendation:** Enforce hard spend limits on agent-driven CI and keep any override in human hands; the source's soft $5 cap leaked to $41.80 once agents used a hotfix override.
More in the playbook "Controlling LLM cost": <https://wpnews.pro/playbooks/llm-cost>

I run a job platform with one human engineer (me) and a handful of AI coding agents. The agents open most of the pull requests. In the last two weeks our CI ran 33,152 jobs and we merged about 114 PRs a day.

We changed CI setups four times since July. Here is what each cost per merged PR, from our own usage exports and list prices.

| Setup | Dates (2026) | $/day | Merged PRs/day | $/merged PR | 
|---|---|---|---|---|
| GitHub Actions on 3 GCP VMs | to Jul 9 | ~$10 | 30 | ~$0.33 | 
| GitHub Actions on Cloudflare Containers (self-hosted, one container per job) | Jul 10 – Oct 17 | $22.72 | 38 | $0.36 – $0.63 | 
| Our own scheduler on Cloudflare Containers, $ gate | Oct 18 – Nov 13 | $17.77 | 32 (capped) | $0.39 – $0.46 | 
| Depot CI | Nov 17 – now | ~$80 at list | 114 | ~$0.80 | 

Between Nov 14 and Nov 16 we gated PRs on an 8 GB laptop. One run took about 75 minutes.

**GCP VMs.** About $300 a month for a fixed fleet doing about 2,536 job-minutes a day. By September the agents needed about 7,300 a day.

**Cloudflare Containers behind GitHub Actions.** Self-hosted runners, one container per job. Cheap per minute: vCPU bills on CPU actually used, and our runners sat about 41% busy, so a 4 vCPU / 12 GiB container cost about $0.0039 per minute. GitHub's 4-core runner lists at $0.012.

**Our own scheduler.** Then we took GitHub Actions out of the loop. A Cloudflare Worker took the `pull_request` webhook, started containers and posted commit statuses. It worked. But CI was $607 a month at list, 69% of our Cloudflare usage, and that budget is meant for production. It also needed a daily dollar gate, and the gate leaked: agents used a manual override for "hotfixes", and one day hit $41.80 against a $5 cap. The lesson: a soft cap with an override is not a cap for agents. They will use the override. Make limits hard and keep the override with a human. With the cap enforced we merged about 32 PRs a day. From July to November, 422 merged PRs touched our CI code. We switched it off on Nov 14.

**Depot CI.** We moved on Nov 17.

From the November usage export (Nov 16 – 30):

Depot's usage estimate for Nov 16 – Dec 1 is about $1,200 at list: $200 plan, about $849 of compute past the included 20,000 minutes, and about $151 of cache storage.

`<workflow> / <job>`, so our branch-protection contexts stopped matching. We post commit statuses ourselves.`pnpm/action-setup` with a `version:` conflicts with `packageManager` in package.json.`gh pr list --json statusCheckRollup` caps at 100 entries. One head had 129 check runs, the passing ones were hidden, and our merge train never picked the PR.`checkSuite.workflowRun` over GraphQL returned "Resource not accessible by integration", which made the train see zero checks. We read check runs over REST instead.
Cost per PR only matters if the product gets better. Here are the four weeks before (our own scheduler, Oct 18 – Nov 13) against the first 12 days on Depot (Nov 18 – 29):

| Metric | Before | Depot | 
|---|---|---|
| Merged PRs per day | 44 | 113 | 
| Feature PRs per day ( `feat` /`perf` ) | 14 | 27 | 
| Share of PRs that are fixes | 54% | 33% | 
| New Sentry error types per 100 merged PRs | 23.5 | 5.1 | 
| Deploys to production per day | 44 | 39 | 
| Median PR lead time | 0.6 h | 0.8 h | 

Two honest notes. Deploy frequency did not go up: the merge train now batches about 3 PRs per deploy, so we ship more per deploy, not more deploys. And not all of the defect drop is CI: we quarantined our flakiest e2e tests and fixed pre-hydration clicks in the same weeks. Still, fewer new production errors per PR at 2.5x the PR volume is the result we care about.

For us, yes. We merge 3.6x the PRs per day we merged under the capped Cloudflare setup, for about 2x the cost per PR, and nobody maintains a runner fleet. The Cloudflare budget goes back to production. The next saving is right-sizing the PR gate, which is 78% of compute.

We build [lokerdollar.com](https://lokerdollar.com/en/employers), where companies hire Indonesian talent for any role, with free hiring tools. This CI setup is how a one-person team ships it.

I also help engineering teams move from vibe coding to agentic coding: a software factory where agents open PRs, CI gates them and a merge train ships them, with the cost and defect numbers to show for it. If your team is working on that, reach out on LinkedIn.

How are you capping what your coding agents spend? Tell me in the comments.

Method: Depot usage CSV export (Nov 2026), Depot usage estimate, merged PRs and lead times from the GitHub API, new issues from Sentry, Cloudflare Containers usage from the GraphQL API priced at list, merged PRs from git history, Depot and GitHub pricing pages read Nov 30, 2026.
