-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
test: keep local full-suite RAM within the host budget #100429
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PR
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maintainerMaintainer-authored PRMaintainer-authored PR
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect resource scheduling without a process crash)
Beta release blocker
No
Summary
The automatic local full-suite profile multiplies its host-aware worker budget across nested Vitest shards, causing avoidable peak RAM pressure and OOM risk.
Steps to reproduce
Expected behavior
The automatic full-suite profile should spend the inferred host worker budget once across the full process tree and keep each shard to one Vitest worker.
Actual behavior
The six-worker host budget selects a ten-shard by two-worker profile, allowing up to 20 Vitest workers plus their separate process and module-graph overhead.
OpenClaw version
Current
mainatd7e2096dc78.Operating system
Linux on a fresh Blacksmith Testbox; scheduling behavior is platform-independent.
Install method
Source checkout with
pnpm install.Model
Not applicable; test-runner infrastructure.
Provider / routing chain
Not applicable; test-runner infrastructure.
Additional provider/model setup details
Not applicable.
Logs
The full isolated Testbox inventory and paired aggregate-RSS run will be linked from the fixing PR.
Screenshots, recordings, and evidence
Source-level scheduler reproduction plus fresh Testbox memory sampling; no visual surface is involved.
Impact and severity
Additional information
The existing Vitest worker cap is sufficient when treated as a global budget. The fix should preserve explicit operator overrides and CI serialization while removing nested automatic concurrency.