Skip to content

Cost and usage of the checks

The repository is private, so GitHub Actions minutes come out of the account's monthly quota. On 2026-10-17, from about 16:00 UTC, GitHub assigned no runner to any job: every job failed within two seconds with runner_id: 0 and no logs, until the owner added budget. This page records what the checks cost, what each one has caught, and what follows. The numbers come from the GitHub API (runs, jobs and comments of check.yml and claude-review.yml), read on 2026-10-18.

How GitHub counts

  • Each job is rounded up to a whole minute. A 15-second job costs one minute.
  • Windows minutes count twice. Linux counts once.
  • The included minutes reset monthly; past them, jobs run only as far as the spending limit allows. A job without budget gets no runner and fails at once, as above.

Minutes, 2026-10-10 to 2026-10-17

Eight days, 249 check runs and 141 claude-review runs (pull requests and pushes to main):

Job Jobs run Minutes run Billable minutes Share
pester-windows 296 263 820 27 %
validate 372 478 657 22 %
eval-plugin-windows 150 166 492 16 %
secret-scan 372 89 372 12 %
claude-review 108 238 287 10 %
version-bump 268 25 268 9 %
claude-review-posted 91 9 91 3 %
Total 1,269 2,987

Two effects make the bill more than twice the time the jobs actually ran:

  • The Windows jobs are 34 % of the minutes run, but 44 % of the bill (1,312 minutes).
  • The short jobs (secret-scan, version-bump and claude-review-posted) ran 123 minutes between them and cost 731, because each one is rounded up to a minute.

Eight days used about 3,000 billable minutes, which is a typical monthly allowance.

What each check has caught

check.yml

Since its first run on 2026-09-27, 379 runs:

Result Runs
success 352
cancelled (superseded by a newer push) 15
failure 11
still running when read 1

Ten of the eleven failures were real problems in the pull request. The eleventh was a run without a runner, the out-of-budget day.

Job Real failures What they were
validate 4 three findings of the bash linters, one plugin test
version-bump 3 a plugin changed without a version bump, or bumped below main
pester-windows 2 PowerShell paths that only broke on Windows (#44, #71)
eval-plugin-windows 2 Git Bash on Windows (#116)
secret-scan 0

Every job except secret-scan has stopped at least one broken change before it merged. secret-scan has found nothing; the commit hook's secret check (git-flow's guard) stops a token before it is ever committed. TruffleHog over the whole history is the net for a token that gets past it.

claude-review.yml

141 runs since 2026-10-10:

Result Runs
success 100
skipped (drafts, a review already posted) 35
failure 6 (the check that the review ran and could post, a hidden-text refusal, and the day without runners)
  • Findings. The review posted 32 inline findings on 19 pull requests (#28, #34, #63, #64, #66, #74, #80, #87, #97, #105, #108, #110, #121, #141, #143, #167, #187, #195, #220), and "No issues found" on the others (76 summary comments). Most findings were real bugs that the tests had missed: a -Fix PATH write that expanded %VAR% entries, a GraphQL field conflict, a launcher committed without its executable bit, a cleanup that could delete another user's worktree, an [int] overflow on a GCP project number, a timezone-naive --since.
  • Fixes. At least 8 commits on main say they fix review findings.
  • Model usage. The review runs Claude Code with the owner's subscription token (CLAUDE_CODE_OAUTH_TOKEN). Its model usage counts against the subscription, not against Actions or a per-run price, so this page does not show it in money.

Outside the workflow files

  • Copilot review reviews each pull request once, when it is marked ready (copilot-review.md). It does run on Actions minutes, as a dynamic run named "Running Copilot Code Review" (measured below).
  • Plugin evals (scripts/tools/eval-plugin.sh) run on the machine that starts them, not in CI, and report their model cost. As an example, the three cloud-coordinator evals with a no-plugin baseline (#232) cost about 0.5–1.5 USD per model with Opus and Sonnet, and about 0.15 USD with Haiku.

Decided, 2026-10-18

No check is switched off: each one either caught real problems or, for the secret scan, is the only net for the history. The owner decided:

  1. One Linux job instead of four. check.yml runs validate only; the version check and the secret scan are its steps, and they run even when a step before them failed. The review workflow keeps its verify job, which runs with other permissions than the review.
  2. No Windows runner (changed below, 2026-10-21). PowerShell scripts are written for pwsh 7 and run on Linux too, so CI tests them there (check-plugins.sh, Pester included). The Windows branches are checked on the owner's Windows machine in a Claude Code session.

Together that removes about 2,000 of the 2,987 billable minutes of the eight days above: the 1,312 Windows minutes, and about 640 from the two short jobs.

Not changed yet: CI still runs on every push to a draft pull request. Running it only on ready would halve the runs again, but git-flow:pull-request and git-flow:babysit-pr wait for the checks on drafts, so it needs a change there first.

Changed, 2026-10-21: the changed tests on Windows (#269)

Without a Windows runner, five Windows-only test failures merged within four days, and each one refused every push from the Windows machine until a fix landed (#243, #284, #316 and the earlier #94, #147). check-windows.yml runs on Windows only the tests a ready pull request adds or changes, or that belong to a script it changes (checks.md); the whole of check-plugins.sh took 4 min 11 s on the Windows runner (PR #322's own run), a job of about five minutes and ten billable minutes a run.

The cost was estimated before the first month: a run of a few tests stays within one or two minutes, 2–4 billable. Of the 60 pull requests merged from 2026-10-17 to 2026-10-20, 52 changed a script or a test, so most ready pushes start a run. At that pace the estimate is roughly 50–120 billable minutes a day. A docs-only pull request, a draft and a push to main start none. These are estimates, not measurements; read real numbers before adding another paid reviewer.

Changed, 2026-11-21: no Windows runner (#946)

This reverses the section above. Since 2026-11-21 workers and sandboxes run on Linux only, and the Windows machine is the owner's workstation: it runs Claude Desktop and the coordinator CLI, no workers, and the coordinator writes no code, so nothing is pushed from Windows any more. check-windows.yml was added because Windows-only test failures refused every push from that machine; with no pushes from there, that reason is gone. The job itself had become the largest item of the bill (1,870 of 5,416 minutes in the week measured below), and by 2026-11-21 it failed on every pull request for a test bug that only Git Bash shows (#935, #943), which turned each one red and stopped the review loop after three red heads. check-windows.yml is deleted; no workflow starts a Windows runner (checks.md).

The accepted risk: the Windows-only code paths of the workstation's tools (the Windows branches of dev-doctor.ps1 and of the coordinator CLI, scripts/windows/) go untested in CI, and a break there shows only when the owner runs the tool. The Linux validate job keeps every test it ran before, so every .ps1 is still tested with pwsh on Linux.

Changed, 2026-11-11: the changed tests on Linux too (#695)

On 2026-11-10 the account was at 90 % of its monthly quota, mostly Linux minutes: check ran 37 times, about 370 billable minutes, and 7 of the 10 minutes of a validate run were one step, the whole plugin test suite. Now:

  • validate on a pull request runs only the tests check-changed-tests.sh --wide selects: the Windows selection, widened to every test of a plugin whose files changed. Every check that is not a test runs in full. A push to main, a selection of all and a selection that cannot be computed run the whole suite (checks.md).
  • check-windows selects its tests in a Linux job of about one minute and starts a Windows runner only for a non-empty selection. Before, an empty selection still billed a Windows job: a full-history checkout and a pip install, two minutes or more at the doubled rate.
Run Before After (expected)
validate, a pull request push that changes a few tests or one plugin about 10 min about 3–5 min: the 7-minute test step shrinks to the tests of that plugin
validate, docs only about 10 min about 3 min
validate, main push, or a change to the shared runners about 10 min about 10 min, unchanged
check-windows, a script without a test 2–4 billable min of Windows about 1 billable Linux min
check-windows, a selection with tests 2–4 billable min about the same plus 1 Linux min

The expected numbers are estimates from the 2026-11-10 runs.

Added, 2026-11-11: the dashboard images (#604)

dashboard-images.yml runs only for a change under servers/dashboard/ or to itself: one Linux job that builds two standard-library images for two platforms, the arm64 half under QEMU. Both are COPY builds on a cached base, so a run should take a minute or two, 1–2 billable minutes; a push to main adds the push and a second job for the cleanup, one more billable minute. Dashboard pull requests are a small share of all pull requests, so this adds a few minutes a week. These are estimates, not measurements.

Changed, 2026-11-12: no up-to-date rule on main (#735)

From 2026-11-08 to 2026-11-11, runs on a head that only merged main were about a quarter of the pull-request check runs and about 13 % of their minutes: check 36 of 146, check-windows 39 of 157, claude-review 10 of 84, pages 16 of 54. The main ruleset required branches to be up to date (#409), so every merge sent every open pull request through a base sync and a full run.

Now a pull request merges behind main unless main changed what it changes (checks.md). What it costs instead: the version check on every push to main (a step of the validate run main already had), and a follow-up pull request for each version clash that reaches main. Expected: the base-sync runs drop to the pull requests that overlap a merge. Read the share again after a month, with the same query.

Measured, 2026-11-07 to 2026-11-13 (#697)

The week the two trigger changes are measured against: the up-to-date rule went off on 2026-11-14, after the window, and the one-review rule for Copilot (#761) merged on 2026-11-13 at 14:00 UTC, ten hours before it ends, so the Copilot numbers are mostly, not wholly, from before it. The numbers come from scripts/tools/actions-minutes.py, which reads every run of the week with its jobs and sorts it by what started it:

python3 scripts/tools/actions-minutes.py collect <owner>/claude 2026-11-07 2026-11-14 >runs.jsonl
python3 scripts/tools/actions-minutes.py report runs.jsonl
Started by Runs Billable minutes Share
a ready pull request's push (its first and its fix pushes) 351 2,328 43 %
a base sync: git's merge of main into the branch 143 946 17 %
a push to main 103 766 14 %
a draft pull request's push 293 693 13 %
Copilot code review 133 595 11 %
re-runs (each attempt after the first) and other runs 16 88 2 %
Total 1,039 5,416

73 pull requests merged that week: 74.2 billable minutes per merged pull request.

The larger rows by workflow, with the minutes of each pull request's first run of that kind apart from its later runs (the report's third table):

Workflow and trigger PRs Runs Billable minutes First run Later runs
check-windows, ready push 60 133 1,303 577 726
check, ready push 64 104 717 429 288
check, push to main 73 706
check, draft push 72 98 645 471 174
Copilot code review 78 131 592 339 253
check-windows, base sync 35 49 558 375 183
check, base sync 35 49 313 225 88
claude-review, ready 66 66 260 260 0
pages, all triggers 153 182

What the numbers show:

  • check-windows is the largest item: 1,870 minutes, 35 %. A Windows job cost about ten billable minutes on average (2 to 30), almost all of it the test step: checkout and the prerequisites take seconds, so caching would save little. After a ready pull request's first Windows run, its fix pushes cost 726 minutes more, because each one runs every test the whole pull request touches again.
  • Base syncs cost 946 minutes. The main ruleset required up-to-date branches until the owner switched it off on 2026-11-14 (above).
  • Copilot re-reviews cost 253 minutes: 78 pull requests got a first review, some up to six more. pr-watch request-review refuses a second review since 2026-11-13 (#761), unless the owner asks for it; 15 of the re-reviews (71 minutes) still came in the ten hours after that merge, while sessions ran the older plugin.
  • Drafts cost 645 minutes of check, but 471 of them are each pull request's first run, which would move to ready_for_review if drafts were skipped: that saves about 175 minutes a week. check-windows, claude-review and Copilot already skip drafts.
  • Pushes to main run the whole suite, about ten minutes each. Without the up-to-date rule they are the only run of the merged combination, and the version check runs there (#735).
  • claude-review runs once per pull request, when it is marked ready (claude-review.yml has no synchronize).

Expected without further changes: about 4,200 billable minutes for a week like this one, about 58 per merged pull request, from the base syncs and the Copilot re-reviews alone (5,416 − 946 − 253). The options still open, each a CI change for the owner, are the questions in #697; the owner answered them on #870, below.

Measured, 2026-11-14 to 2026-11-20 (#870)

The first week without the up-to-date rule and with one Copilot review per pull request, read with the same commands (collect <owner>/claude 2026-11-14 2026-11-21). It is the "before" of the changes of #870:

Started by Runs Billable minutes Share
a ready pull request's push 350 2,493 55 %
a push to main 120 1,013 22 %
a draft pull request's push 225 482 11 %
Copilot code review 83 304 7 %
a base sync 34 256 6 %
re-runs 7 16 0 %
Total 819 4,564

69 pull requests merged: 66.1 billable minutes per merged pull request, down from 74.2.

Workflow and trigger PRs Runs Billable minutes First run Later runs
check-windows, ready push 50 124 1,606 648 958
check, push to main 69 913
check, ready push 51 95 595 310 285
check, draft push 60 67 431 380 51
Copilot code review 65 81 296 237 59
claude-review, ready 60 60 221 221 0
check-windows, base sync 9 10 152 137 15
pages, all triggers 181 229
  • Base syncs fell from 946 to 256 minutes, as expected from #735.
  • Copilot fell from 595 to 304 minutes, with 59 left for re-reviews (#761).
  • A push to main ran the whole suite, about 13 billable minutes each: 913 minutes, a fifth of the week.
  • check-windows is still the largest item, 1,758 minutes, and its fix pushes cost more than its first runs. #946 deleted it (above).

Changed, 2026-11-21: the whole suite nightly, the history scan weekly (#870)

The owner's decisions d4 and d8 on #870, for check.yml (checks.md):

  • A push to main runs only the version check of its commits, a version job of about one billable minute, and only when it changes a file under plugins/. The whole suite runs nightly on main (03:23 UTC); a red nightly run is the coordinator's main_red.
  • The secret scan on a pull request reads only that pull request's commits; TruffleHog over the whole history runs in Sunday's nightly run and by hand. In two months on every push it found nothing (above).

Expected for a week like the one above: 41 of the 69 pushes to main changed a plugin, so they cost about 41 minutes instead of 913, and 7 nightly runs add about 90. That saves about 780 minutes, about 17 %, or about 55 billable minutes per merged pull request. The diff-only scan saves seconds per run, mostly inside the one-minute rounding of validate. These are estimates; read the first full week after the merge with the same commands and add it here.

The other decisions of #870 are tasks of their own: the self-hosted runner for the scheduled jobs (#895), drafts (below), the Windows suite (#946, done), aise-feecheck-poc's workflows and the GitHub plan.

Changed, 2026-11-21: no CI on a draft (#870)

The owner's decision d5 on #870: check and pages skip a draft and run from ready_for_review on (checks.md). This lifts the "not changed yet" of 2026-10-18 (above).

Expected for the week of 2026-11-14 (above): close to nothing, well under the 431 minutes drafts cost there. Marking a draft ready started no run before; now it does, so each pull request's first run (380 minutes) moves to ready_for_review. git-flow:babysit-pr marks a draft ready as soon as its checks all skipped, so the fix pushes that ran on a draft before (51 minutes) now run on a ready pull request, at the same price. What falls away are the runs of a draft that is closed unmerged and of one pushed before it is babysat, and the pages runs on drafts. Copilot and claude-review now review a head before check has passed on it; the local pre-push gate runs the same checks before every push. Read the first full week after the merge with the same commands and add it here.

Changed, 2026-11-22: the nightly run on the self-hosted runner (#895)

The owner's decision d1 on #870 and decisions 1 to 3 on #895: check.yml's nightly run and a run by hand on main take the ephemeral self-hosted runner on vps (runner.md), as a pilot. Pull requests stay on ubuntu-latest.

Before the change, read with actions-minutes.py collect <owner>/claude 2026-11-22 2026-11-23: one nightly run had run on GitHub's runners so far, on Sunday 2026-11-22, with the history scan.

Run Job Ran Billable minutes
nightly, 2026-11-22 validate 14 min 37 s 15

Expected: about 30 nightly runs a month at 13 to 15 billable minutes each, so 390 to 450 of the roughly 20,000 billable minutes a month move off GitHub's bill, about 2 %. The pilot is there to prove the runner's isolation; the bulk of the bill is pull-request runs, a later step.

After a week on the runner, this section gets each moved run's runtime on the runner, the host's load during the runs (the runner shares 4 CPUs and 16 GB with both coordinators), and the GitHub-hosted minutes saved.

Changed, 2026-11-23: pull requests and pushes on the self-hosted runner (#994)

The account is running out of Actions budget. The owner decided on 2026-11-23, on #895, to move most Linux jobs to the runner on vps once it runs, instead of decision 3's week of measuring first (#994). The runner keeps two runners per repository, so two jobs run at the same time (runner.md).

Moves to the runner Stays on GitHub, and why
check.yml: validate and version, every event claude-review.yml's claude-review: its sandbox needs a user namespace, which the job container refuses (runner.md)
claude-review.yml's claude-review-posted pages.yml's deploy: GitHub Pages and its environment
pages.yml's build and gate server-images.yml, only on a pull request that changes servers/: the image checks need docker (checks.md)
dashboard-images.yml, as it was; Copilot's review runs on GitHub's side

Before the change, the 7 days to 2026-11-23, by wall time per run (billing rounds each job up to a minute, so the bill was higher):

Workflow Runs Ran
check on pull requests 110 594 min
check on pushes to main 31 313 min
claude-review 84 90 min
pages 137 15 min

Expected: the check runs, about 900 minutes run a week and more billed, leave GitHub's bill entirely, and so do about 84 one-minute claude-review-posted jobs and the pages builds. What remains is the claude-review job itself, the pages deploy on main, and the image checks of a pull request that changes a server. Read the first full week after the merge with actions-minutes.py and add it here, with the runner's queue times: two runners serve both coordinators' pull requests, and a third pull request waits for one of them.

Plan quota: 95% and 98% (#774)

Separate from Actions minutes, the Claude plan has a 5-hour and a 7-day usage window. The owner's rule of 2026-11-13: at 95% of either window the coordinators finish running work until it is merged or blocked and start no new work; at 98% every session persists its work (commit, push, record state) and waits for the reset. ops-patrol raises the alarm and the plugin's hook tells the host sessions; the ops:watch round tells the sandboxed coordinators. The numbers come from the status line (ops-quota), and ops-status reads the sandboxes' logs too. Details: plugins/ops/README.md.