FORGE-79: run gitleaks and the ci aggregate on the Cloudflare executor #711

Merged
gmackie merged 1 commit from FORGE-79-light-jobs-on-cloudflare into main 2026-10-12 05:14:40 +00:00
Owner

Issue: https://tasks.gmac.io/gmacko/issue/FORGE-79 · follows #695 (unit suites on Cloudflare, merged)

Evidence (PR #695's CI run 23257)

Job Runner Waited Ran
unit-api cf-containers 16s 217s
unit-web cf-containers 17s 215s
gitleaks hetzner-bob 329s 8s
storybook / web-build / checks / database / go node pool 339–467s 82–249s
ci (aggregate, required) hetzner-ci 1741s 36s

The node pool had ~75 forgegraph-worker jobs waiting. That's about 10 CI runs after the job split, against 9 node slots.

Change

  • gitleaks and ci move to runs-on: cloudflare. Both are light and service-free, and the image has jq, curl, node and gitleaks. They are the two required checks, so they no longer queue behind builds.
  • The runner-placement and aggregate tests pin the new placement.
  • ops/ci-runners/README.md records hetzner-build (new 20-core / 62 GB runner, capacity 4) and the cloudflare label. It also notes that provision-runner.sh downloads the wrong binary (gitea act_runner has no v13).

Risk

With required checks on cloudflare, a pool outage would block merges until fixed or reverted. Mitigations: the pool's cron keep-alive, GET /pool for visibility, and a one-line revert per job.

🤖 Generated with Claude Code

Issue: https://tasks.gmac.io/gmacko/issue/FORGE-79 · follows #695 (unit suites on Cloudflare, merged) ## Evidence (PR #695's CI run 23257) | Job | Runner | Waited | Ran | |---|---|---|---| | unit-api | cf-containers | 16s | 217s | | unit-web | cf-containers | 17s | 215s | | gitleaks | hetzner-bob | **329s** | 8s | | storybook / web-build / checks / database / go | node pool | 339–467s | 82–249s | | **ci** (aggregate, required) | hetzner-ci | **1741s** | 36s | The node pool had ~75 `forgegraph-worker` jobs waiting. That's about 10 CI runs after the job split, against 9 node slots. ## Change - `gitleaks` and `ci` move to `runs-on: cloudflare`. Both are light and service-free, and the image has jq, curl, node and gitleaks. They are the two required checks, so they no longer queue behind builds. - The runner-placement and aggregate tests pin the new placement. - `ops/ci-runners/README.md` records **hetzner-build** (new 20-core / 62 GB runner, capacity 4) and the `cloudflare` label. It also notes that `provision-runner.sh` downloads the wrong binary (gitea act_runner has no v13). ## Risk With required checks on `cloudflare`, a pool outage would block merges until fixed or reverted. Mitigations: the pool's cron keep-alive, `GET /pool` for visibility, and a one-line revert per job. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
perf(ci): run gitleaks and the ci aggregate on the Cloudflare executor (FORGE-79)
All checks were successful
CI / gitleaks (pull_request) Successful in 14s
CI / unit-api (pull_request) Successful in 3m2s
CI / unit-web (pull_request) Successful in 3m42s
CI / storybook (pull_request) Successful in 1m31s
CI / go (pull_request) Successful in 53s
CI / checks (pull_request) Successful in 1m58s
CI / database (pull_request) Successful in 2m54s
forgegraph/ci CI passed
CI / web-build (pull_request) Successful in 3m44s
CI / ci (pull_request) Successful in 31s
7c68d105ca
PR #695's run measured what queueing costs. On Cloudflare, unit-api and
unit-web waited 16-17s for a container. Node-pool jobs waited 329-467s,
and the aggregating 'ci' job (36s of work) waited 1741s for a slot.
gitleaks (8s of work) waited 329s. Both are light and need no service
containers, so they move to runs-on: cloudflare. Tests pin the new
placement. The runner README records hetzner-build joining the pool and
the cloudflare label.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.