mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-27 05:41:12 +00:00
* perf(ci): scale Vitest workers with runner class and share serial module cache Compact node-test jobs pinned OPENCLAW_VITEST_MAX_WORKERS=2 regardless of runner size, so import-bound suites (30-45s of module-graph import per file) crawled: runner-cli spent 284s on 5s of tests, commands-1 296s on 10s. With serial plans the budget now scales with the class (6 on 8vcpu, 3 on 4vcpu); timing-sensitive groups (tooling, tui-pty, infra-process) stay pinned to 2 via plan-level env. Serial bins share one Vitest fs-module-cache path so later plans reuse the first plan's transforms. The import-bound commands stripes and security suite move to the 8vcpu class, and packing hints refresh from serial-run measurements (run 29481835688). * perf(ci): stripe cli-runner suite and pin media-ui worker budget The agents-core config runs files serially (fileParallelism false guards shared module state), so raising the worker budget cannot help its import-heavy cli-runner suite (~35s module import per file, 213s serial). Stripe it three ways so bins parallelize the imports instead. media-ui hosts browser locator tests that timed out at 6 workers on the first validation run; pin it to the proven 2-worker budget. commands-1's hint drops to its measured 6-worker runtime.
47 KiB
47 KiB