optimizetests
Optimize OpenClaw slow tests, imports, misplaced coverage, and CI wall time without dropping coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimize OpenClaw slow tests, imports, misplaced coverage, and CI wall time without dropping coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.
Inspect, patch, validate, publish, or confirm OpenClaw GHSA security advisories and private-fork state.
Run, rerun, debug, or interpret OpenClaw Parallels install, onboarding, gateway smoke, and upgrade checks.
Review, triage, close, label, comment on, or land OpenClaw PRs/issues with maintainer evidence checks.
Run, watch, debug, extend, or explain OpenClaw qa-lab and qa-channel scenarios, artifacts, and live lanes.
Prepare or verify OpenClaw stable/beta releases, changelogs, release notes, publish commands, and artifacts.
基于 SOC 职业分类
| name | optimizetests |
| description | Optimize OpenClaw slow tests, imports, misplaced coverage, and CI wall time without dropping coverage. |
Goal: real OpenClaw test/runtime speedups with coverage intact. Do not add shards, skip assertions, weaken gates, or tune runner flags as the main fix.
docs/help/testing.md, docs/ci.md, and the scoped AGENTS.md files
for any subtree you will edit.pnpm test:perf:groups --full-suite --allow-failures --output .artifacts/test-perf/<name>.jsontimeout 240 /usr/bin/time -l pnpm test <file> --maxWorkers=1 --reporter=verboseOPENCLAW_VITEST_IMPORT_DURATIONS=1 OPENCLAW_VITEST_PRINT_IMPORT_BREAKDOWN=1importActual() in hot testsvi.resetModules() plus fresh importspnpm check:changed; run broader gates (pnpm check, pnpm test,
pnpm build) when touched surfaces require them.scripts/committer "<conventional message>" <paths...>.
Push when requested. If CI is red, inspect with gh run list/view, fix, push,
repeat until current CI is green or a blocker is proven unrelated.End with the pushed commit(s), before/after timings, gates run, current CI state, and any remaining tail lanes that need separate optimization.