Skip to content

Limit CI test task concurrency to runner capacity - #2655

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2653
Aug 28, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2653

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Human comments

What was wrong

The four-CPU CI runner started Turbo package tests without a task limit. Each package also started Vitest workers and child processes. The nested work caused a valid five-second test to expire. The direct report reproduced this result twice on trusted main.

What changed

The CI test command now limits Turbo to four tasks. A focused test protects this runner policy. This change has no wire change, CLI change, or user configuration change.

How you verified

  • The focused test failed before the fix. It passed after the fix.
  • pnpm exec turbo run test --filter=@bb/scripts --force passed 126 tests.
  • pnpm exec turbo run typecheck --filter=@bb/scripts --force passed.
  • The fixed package shard passed all 75 Turbo tasks.
  • git diff --check passed.
  • The change has 19 text lines: 18 additions and one deletion.

Fixes #2653

AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests (packages): child-process tests are marginal under full-shard parallelism (5-10s budgets; deterministic repro on main)

1 participant