Skip to content

chore(dev): support an explicit test worker budget and use frozen Effect installs - #921

Merged
tt-a1i merged 2 commits into
mainfrom
codex/local-test-workers
Nov 13, 2026
Merged

tt-a1i merged 2 commits into
mainfrom
codex/local-test-workers

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Problem

The Node and Vitest launchers use a fixed maximum of four concurrent files, so contributors cannot choose a different budget for a large or constrained machine. The subagent Effect notes also instruct developers to install floating beta packages despite the root manifest's tested pins and the earlier packed-install failure in #533.

Value

Contributors can choose a worker count for their own machines and install the same dependency cohort that CI uses. No elapsed-time improvement has been established.

Approach

Read an optional OPENPI_TEST_WORKERS in the existing runner and validate it against the machine's available parallelism. Both parallel launchers use that number. The existing default and the serial Windows process group keep their current behavior. Update the historical Effect notes to point to the frozen root install.

Validation

  • On macOS arm64 with Bun 1.3.14 and Node 22.23.3, the branch passed bun run check and all six runner tests, including fixtures with an explicit worker count, invalid values, serial isolation, sharding and child failure propagation.
  • A combined audit checkout containing this code passed bun run test with the default budget (2,476 Node passes, 8 skips, 1,652 UI passes). The checkout also contained the Web fixes and their additional tests.

Impact

Contributor tooling and install documentation only. CI jobs continue using their configured defaults. Pi runtime behavior, package dependency versions, model tools and persisted settings are unchanged.

@tt-a1i
tt-a1i marked this pull request as ready for review November 13, 2026 16:32
@github-actions github-actions Bot added documentation Improvements or additions to documentation area:subagents Subagent delegation, skills, or tests labels Nov 13, 2026
@tt-a1i
tt-a1i merged commit eec8736 into main Nov 13, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:subagents Subagent delegation, skills, or tests documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant