FORGE-79: run the unit suites on the node pool again (revert routing) #715

Closed
gmackie wants to merge 1 commit from FORGE-79-revert-unit-routing into main
Owner

Issue: https://tasks.gmac.io/gmacko/issue/FORGE-79 · reverts the routing from #695 · unblocks PR CI

Why

The cloudflare lane stopped claiming tasks under load. Runner cf-containers (#28) claimed nothing from 04:57:43 to at least 05:02 UTC, while ~28 containers were running and polling as that single runner identity, and its last_online kept updating. 14 unit-suite jobs waited, so PRs' required CI / ci blocked. Earlier in the night, with 1–2 concurrent containers, claiming worked: #695's own run waited 16s and both jobs passed. The tasks that were claimed ran fine (unit-api 202s, unit-web 230s), so this is about getting tasks, not running them. Leading hypothesis: Forgejo limits or serialises concurrent tasks per runner, so many processes sharing one identity starve. Not yet proven, because container logs aren't reachable.

Change

unit-api and unit-web go back to [forgegraph-ci, forgegraph-worker], which is now 13 slots with hetzner-build. The aggregate test pins this. #711 (gitleaks + ci on cloudflare) is on hold and won't merge until the lane is fixed.

Follow-up (FORGE-79)

Per-container ephemeral runner registration (unique identity per container, --ephemeral), or --handle assignment via FORGE-77's control plane. Prove it with a load test before routing any required check back to the lane.

🤖 Generated with Claude Code

Issue: https://tasks.gmac.io/gmacko/issue/FORGE-79 · reverts the routing from #695 · **unblocks PR CI** ## Why The `cloudflare` lane stopped claiming tasks under load. Runner `cf-containers` (#28) claimed **nothing from 04:57:43 to at least 05:02 UTC**, while ~28 containers were running and polling as that single runner identity, and its `last_online` kept updating. 14 unit-suite jobs waited, so PRs' required `CI / ci` blocked. Earlier in the night, with 1–2 concurrent containers, claiming worked: #695's own run waited 16s and both jobs passed. The tasks that were claimed ran fine (unit-api 202s, unit-web 230s), so this is about getting tasks, not running them. Leading hypothesis: Forgejo limits or serialises concurrent tasks per runner, so many processes sharing one identity starve. Not yet proven, because container logs aren't reachable. ## Change `unit-api` and `unit-web` go back to `[forgegraph-ci, forgegraph-worker]`, which is now 13 slots with hetzner-build. The aggregate test pins this. #711 (gitleaks + ci on cloudflare) is **on hold** and won't merge until the lane is fixed. ## Follow-up (FORGE-79) Per-container ephemeral runner registration (unique identity per container, `--ephemeral`), or `--handle` assignment via FORGE-77's control plane. Prove it with a load test before routing any required check back to the lane. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
revert(ci): run the unit suites on the node pool again (FORGE-79)
All checks were successful
CI / gitleaks (pull_request) Successful in 8s
CI / storybook (pull_request) Successful in 1m18s
CI / unit-api (pull_request) Successful in 1m21s
CI / web-build (pull_request) Successful in 1m58s
CI / checks (pull_request) Successful in 2m3s
CI / go (pull_request) Successful in 1m40s
CI / unit-web (pull_request) Successful in 3m45s
CI / database (pull_request) Successful in 3m33s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 46s
c1dee1e29a
The Cloudflare lane stopped claiming tasks under load. From 04:57:43 to at
least 05:02 UTC, runner cf-containers claimed nothing while ~28 containers
polled as that one runner identity, and 14 unit-suite jobs waited,
blocking PRs' required checks. Move unit-api and unit-web back to
[forgegraph-ci, forgegraph-worker], which hetzner-build has just
enlarged, until claim throughput on a shared runner identity is fixed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gmackie closed this pull request 2026-10-12 05:10:53 +00:00
Author
Owner

Closing: wrong diagnosis. The cloudflare lane was claiming (6 tasks, the last at 05:05). The jobs that never moved were unit jobs of 8 main push runs (#3460–#3504), serialized by the forgegraph-ci-refs/heads/main concurrency group behind run #3449, whose ci aggregate waited ~50 min for a node slot (it started 05:10:18 on hetzner-build). The fixes are #711 (ci aggregate on cloudflare) plus a claim deadline in the executor image, so containers launched for un-claimable jobs exit instead of holding instances. 🤖 Generated with Claude Code

Closing: wrong diagnosis. The cloudflare lane was claiming (6 tasks, the last at 05:05). The jobs that never moved were unit jobs of 8 **main** push runs (#3460–#3504), serialized by the `forgegraph-ci-refs/heads/main` concurrency group behind run #3449, whose `ci` aggregate waited ~50 min for a node slot (it started 05:10:18 on hetzner-build). The fixes are #711 (ci aggregate on cloudflare) plus a claim deadline in the executor image, so containers launched for un-claimable jobs exit instead of holding instances. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
All checks were successful
CI / gitleaks (pull_request) Successful in 8s
Required
Details
CI / storybook (pull_request) Successful in 1m18s
CI / unit-api (pull_request) Successful in 1m21s
CI / web-build (pull_request) Successful in 1m58s
CI / checks (pull_request) Successful in 2m3s
CI / go (pull_request) Successful in 1m40s
CI / unit-web (pull_request) Successful in 3m45s
CI / database (pull_request) Successful in 3m33s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 46s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.