← 返回列表
全部 Skill›开发 Development›openclaw-ci-limits

openclaw-ci-limits

作者 @openclaw · 语言 en
Manage OpenClaw GitHub Actions and Blacksmith CI capacity, runner-registration budgets, fanout caps, main-push single-flight, shard sizing, hosted-runner offload, queue health, and safe ramp-down/ramp-up changes. Use when tuning `.github/workflows/*`, `docs/ci.md`, CI runner labels, matrix `max-parallel`, ClawSweeper/Blacksmith burst protection, CodeQL runner placement, or investigating slow/queued OpenClaw CI.
开发 Development移动开发通用执行命令访问网络待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
395,109
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

OpenClaw CI Limits

Use this skill for CI capacity changes, not ordinary test failure triage. The

goal is to keep OpenClaw fast while distinguishing runner registration, runner

availability, provider control-plane health, and downstream queue drains.

Resolve the active backend

Read the configured OPENCLAW_CI_RUNNER_BACKEND and the affected job's actual

runner before applying provider-specific guidance. The

runner routing guide

owns Boat's rollout, physical labels, and hosted fallbacks. Boat uses the hybrid

logical plan; a logical Blacksmith label alone does not identify the actual VM.

The owner rollout admits only

the documented human source authors and starters on same-repository first

attempts. Boat's public-user allowlist is a separate provider check; allowing a

bot there does not admit bot-started ordinary CI through the workflow.

Fork PRs use GitHub-hosted runners,

including first attempts without repository variables. Preserve their coverage.

The Blacksmith measurements below apply when a job actually selects Blacksmith.

Core Facts

  • Full main-tier CI runs hourly; ordinary main pushes run security-fast.

A green push is not evidence that the full suite passed. Ordinary PRs defer

Windows, macOS Node/Swift, iOS build/simulator, real-Gateway UI, published-driver

update, Knip, and most architecture proof. Import-cycle and Kysely guards

remain blocking. Use docs/ci/scope-and-routing/selection.md and the current

manifest for exact event, owner, and release-fallback selection; do not restore

deferred lanes while tuning capacity. Android screenshots remain release-only.

  • Do not assume the scarce resource. Prove whether pressure is runner

registrations, eligible runner availability, Blacksmith capacity/control

plane, workflow dependencies, test runtime, or a downstream queue writer.

  • GitHub runner registrations for openclaw currently report a 10,000 per

5-minute bucket in actions_runner_registration. Verify the live bucket

before each tuning pass because GitHub can change it. The openclaw

organization shares one bucket.

  • Core REST quota does not draw down this bucket. Check

actions_runner_registration separately; core quota can be healthy while

runner registration is throttled.

  • Use about 60% of the live bucket as the operating target. With the current

10,000-registration bucket, keep planned Blacksmith burst load under 6,000

registrations per 5 minutes and leave the rest for other repos, retries, and

burst overlap.

  • Jobs that route, notify, summarize, choose shards, or run short CodeQL quality

scans should stay on GitHub-hosted runners unless measured evidence says

Blacksmith is required.

Runner Cost Policy

  • Use the smallest runner that completes the required workload reliably. Keep

short control jobs hosted and ordinary trusted development proof local.

  • Treat physical 8-vCPU and larger runners as exceptions, not a default or generic retry. Record the

command and measured peak memory, a smaller-runner OOM, or a controlled

comparison showing lower total billed cost. Low CPU use alone does not prove

a memory-heavy job can move down. Preserve resource-based worker limits.

  • Routine OpenClaw Testboxes use the 4-class with a 60-minute total-job

default, including hydration. Keep the 15-minute idle ceiling. Shorter

deadlines are welcome for known short commands; do not request four hours

automatically or upsize only to obtain more time. Select

.github/workflows/ci-check-high-memory-testbox.yml explicitly only for a

named memory-heavy command; see docs/reference/test/remote-proof.md.

That workflow has at most four concurrent leases inside the shared 32-slot

Testbox pool. The high-memory profile uses 8 vCPUs; both profiles preserve

their pre-November 3 physical CPU and RAM. All Testbox profiles cap idle time at 15 minutes.

  • Allocate through the current OpenClaw wrapper with workflow ref main;

the source capsule preserves the checkout being tested. Do not dispatch an

old workflow ref to bypass spending limits. Queue age is checked before

checkout; an admitted lease keeps its job and idle deadlines.

  • Do not promote an entire workflow family because one command needs more RAM.

Keep proven high-memory CI rows scoped to their owning planner and evidence;

remeasure before changing their allocation. A 32-class label is not proof of

32 available CPUs. Compare observed resources and total billed job cost.

Rejected Experiments

  • UI blobless sparse checkout (2026-10-16): Excluding native mobile/macOS

app trees removed 48.31 MiB of logical tracked content, but did not qualify as

a runner-cost improvement. In

run 38866595993,

the Blacksmith UI E2E checkout took 56s and the hosted browser checkout 58s;

same-run full UI checkouts took 22–38s. These are small, unpaired samples,

not a measured billing delta. Keep the full source checkout. Reconsider only

with lower complete checkout time and billed cost, including filtered fetch,

lazy materialization, and trusted-harness export; fewer logical bytes alone

do not establish savings.

  • Declaration-fixture owner selection (2026-10-02):

test/scripts/tsdown-declaration-fixture.ts derives real source copies from its runtime

entrypoint closures, so produc

评论
Oopenclaw
openclaw
openclaw/openclaw
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@openclaw
所属大类开发 Development / 移动开发
国内可用性通用
最近源活动—
风险提示执行命令、访问网络
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。