Skip to content

Reduce the Windows app test tail by starting shared-worker tests first - #6258

Merged
ymichael merged 1 commit into
mainfrom
bb/ci-platform-critical-path-20261025
Oct 25, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/ci-platform-critical-path-20261025

Conversation

@ymichael

@ymichael ymichael commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The app sequencer started every isolated test file before its shared-worker files. The expensive shared-worker markdown tests could then occupy the last worker while the rest were idle, extending the uncached Windows app test critical path.

What changed

Start shared-worker projects first in the app suite. Preserve the existing ordering within each project, shard assignment, worker counts, test cases, and isolation rules. This changes only app test scheduling; there are no runtime, cache, dependency, or CI matrix changes.

How you verified

  • Windows all-shard comparison: baseline/candidate × all four shards × two repetitions, all 16 jobs passed. All 6,306 test cases and statuses match as multisets, including the existing skip and duplicate-named cases. The slowest shard fell from 139.7s to 126.0s in one repetition and 163.2s to 120.9s in the other; cross-runner variation is substantial.
  • Paired same-runner comparison, uncached shard 2 with four workers and alternating baseline/candidate order: all four pairs passed. Full Turbo test-task times were 115.04→109.55s, 74.24→65.60s, 73.04→65.73s, and 73.78→67.35s. Mean 84.02→77.06s: 6.97s / 8.3% faster. All 1,451 Windows cases and statuses match in every pair. The slower host is included in these results. These are test-stage measurements, not whole-workflow reductions.
  • Local shard 2: 1,450 tests passed, including a separate seeded-shuffle run (20261025). pnpm exec turbo run lint typecheck --filter=@bb/app passed. Formatting and diff checks passed.
  • Final-head CI passed on 208cb59782c3e3ecf45a283a6365814b2ed8dbc8, including all selected Linux and Windows app shards.
  • Independent review confirmed shard assignment, within-project order, and worker isolation are preserved.

AGENT GENERATED

@ymichael
ymichael marked this pull request as ready for review October 25, 2026 03:43
@ymichael
ymichael merged commit 3cca2c9 into main Oct 25, 2026
37 checks passed
@ymichael
ymichael deleted the bb/ci-platform-critical-path-20261025 branch October 25, 2026 04:46
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.

1 participant