docs: record testbox full-suite profile · openclaw/openclaw@1a7dfbb
steipete
·
2026-04-22
·
via Recent Commits to openclaw:main
File tree
1 file changed
lines changed
.agents/skills/blacksmith-testbox
1 file changed
lines changed
| Original file line number | Diff line number | Diff line change |
|---|
@@ -211,6 +211,23 @@ The ONLY exception is trivial checks with zero external dependencies
|
211 | 211 | `blacksmith testbox download --id <ID> coverage/ ./coverage/` |
212 | 212 | 7. Once green, commit and push. |
213 | 213 | |
| 214 | +## OpenClaw full test suite |
| 215 | + |
| 216 | +For OpenClaw, use the repo package manager and the measured stable full-suite |
| 217 | +profile below. It keeps six Vitest project shards active while limiting each |
| 218 | +shard to one worker to avoid worker OOMs on Testbox: |
| 219 | + |
| 220 | +blacksmith testbox run --id <ID> "env NODE_OPTIONS=--max-old-space-size=4096 OPENCLAW_TEST_PROJECTS_PARALLEL=6 OPENCLAW_VITEST_MAX_WORKERS=1 pnpm test" |
| 221 | + |
| 222 | +Observed full-suite time on Blacksmith Testbox is about 3-4 minutes: |
| 223 | + |
| 224 | +- 173-180s on a warmed box |
| 225 | +- 219s on a fresh 32-vCPU box |
| 226 | + |
| 227 | +When validating before commit/push, run `pnpm check:changed` first when |
| 228 | +appropriate, then the full suite with the profile above if broad confidence is |
| 229 | +needed. |
| 230 | + |
214 | 231 | ## Examples |
215 | 232 | |
216 | 233 | blacksmith testbox warmup ci-check-testbox.yml |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。