Skip to content

Commit 18b2ff6

Browse files
authored
docs(ci): update runner registration budget (#97943)
1 parent 2acffd7 commit 18b2ff6

2 files changed

Lines changed: 20 additions & 13 deletions

File tree

.agents/skills/openclaw-ci-limits/SKILL.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ registration edge limit.
1313

1414
- The scarce resource is Blacksmith runner registrations, not Blacksmith vCPU
1515
capacity.
16-
- GitHub runner registrations for `openclaw` are currently capped at 3,000 per
17-
5 minutes per repository, organization, or enterprise. The `openclaw`
16+
- GitHub runner registrations for `openclaw` currently report a 10,000 per
17+
5-minute bucket in `actions_runner_registration`. Verify the live bucket
18+
before each tuning pass because GitHub can change it. The `openclaw`
1819
organization shares one bucket.
1920
- Core REST quota does not draw down this bucket. Check
2021
`actions_runner_registration` separately; core quota can be healthy while
2122
runner registration is throttled.
22-
- Use 2,000 registrations per 5 minutes as the operating target. Leave the last
23-
third for other repos, retries, and burst overlap.
23+
- Use about 60% of the live bucket as the operating target. With the current
24+
10,000-registration bucket, keep planned Blacksmith burst load under 6,000
25+
registrations per 5 minutes and leave the rest for other repos, retries, and
26+
burst overlap.
2427
- Jobs that route, notify, summarize, choose shards, or run short CodeQL quality
2528
scans should stay on GitHub-hosted runners unless measured evidence says
2629
Blacksmith is required.
@@ -88,9 +91,10 @@ admission. The debounce only suppresses pushes that arrive while
8891
registrations are spent even if a later push cancels the run. If timing is
8992
uncertain, count every sequential push in the window.
9093

91-
Reject a change unless the org-level worst case stays below 2,000 registrations
92-
per 5 minutes with headroom for ClawSweeper, ClawHub, Clownfish, OpenClaw RTT,
93-
and Clawbench.
94+
Reject a change unless the org-level worst case stays below about 60% of the
95+
live bucket. With the current 10,000-registration bucket, keep planned
96+
Blacksmith burst load under 6,000 registrations per 5 minutes with headroom for
97+
ClawSweeper, ClawHub, Clownfish, OpenClaw RTT, and Clawbench.
9498

9599
## Safe Levers
96100

docs/ci.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,21 @@ gh workflow run full-release-validation.yml --ref main -f ref=<branch-or-sha>
145145

146146
## Runner registration budget
147147

148-
OpenClaw's current GitHub runner-registration bucket allows 3,000 self-hosted
149-
runner registrations per 5 minutes. The limit is shared by all Blacksmith runner
150-
registrations in the `openclaw` organization, so adding another Blacksmith
151-
installation does not add a new bucket.
148+
OpenClaw's current GitHub runner-registration bucket reports 10,000 self-hosted
149+
runner registrations per 5 minutes in `ghx api rate_limit`. Re-check
150+
`actions_runner_registration` before each tuning pass because GitHub can change
151+
this bucket. The limit is shared by all Blacksmith runner registrations in the
152+
`openclaw` organization, so adding another Blacksmith installation does not add
153+
a new bucket.
152154

153155
Treat Blacksmith labels as the scarce resource for burst control. Jobs that
154156
only route, notify, summarize, select shards, or run short CodeQL scans should
155157
stay on GitHub-hosted runners unless they have measured Blacksmith-specific
156158
needs. Any new Blacksmith matrix, larger `max-parallel`, or high-frequency
157159
workflow must show its worst-case registration count and keep the org-level
158-
target below 2,000 registrations per 5 minutes, leaving headroom for concurrent
159-
repositories and retried jobs.
160+
target below about 60% of the live bucket. With the current 10,000-registration
161+
bucket, that means a 6,000-registration operating target, leaving headroom for
162+
concurrent repositories, retries, and burst overlap.
160163

161164
Canonical-repo CI keeps Blacksmith as the default runner path for normal push and pull-request runs. `workflow_dispatch` and non-canonical repository runs use GitHub-hosted runners, but normal canonical runs do not currently probe Blacksmith queue health or automatically fall back to GitHub-hosted labels when Blacksmith is unavailable.
162165

0 commit comments

Comments
 (0)