Skip to content

Overlap independent macOS tarball smoke phases - #6997

Merged
ymichael merged 1 commit into
mainfrom
bb/ci-mac-smoke-overlap
Nov 4, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/ci-mac-smoke-overlap

Conversation

@ymichael

@ymichael ymichael commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The macOS bb-app tarball smoke serialized two pairs of independent checks: npx installation versus SDK installation/consumer compilation, and full-stack startup versus daemon enrollment. Linux already overlaps both pairs, and Windows already overlaps the install pair. In the latest main run, the macOS smoke owner took 32.5 seconds inside a 71-second step that also built prerequisites.

What changed

Enable the existing parallel branches on macOS. Both branches retain Promise.allSettled, wait for both operations and their process cleanup, propagate failures, and preserve the installed-repack barrier. The full-stack and daemon checks retain separate data directories and reserved ports. All installations, package checks, assertions, and runtime checks remain.

Only two platform conditions in the private smoke script change. No product runtime code, shipped declarations, runner size, shard count, timeout, or cache/invalidation changes. Linux and Windows scheduling is unchanged.

How you verified

  • Two-runner ABBA/BAAB comparison on ordinary six-CPU macOS runners, with shared build prerequisites prepared and a fresh npm cache for every trial. All eight full real tarball smokes passed, including installation, consumer compilation, provider/worker checks, server startup, and daemon enrollment.
Order Trial1 Trial2 Trial3 Trial4
Baseline/candidate/candidate/baseline 28.73s 24.57s 23.90s 29.92s
Candidate/baseline/baseline/candidate 26.40s 32.75s 30.12s 24.89s

Mean smoke-owner wall time fell 30.38→24.94 seconds, saving 5.44 seconds (17.9%). These are owner-phase savings, not a 17.9% whole-job or whole-CI improvement; prerequisite builds were outside the measurement.

  • pnpm exec turbo run test typecheck --filter=bb-app: 224 tests across 23 files passed; all 6 Turbo tasks passed. Formatting and diff checks passed.
  • Independent review found no blocking lifecycle, isolation, or cleanup issues. This activates the same existing all-settled ownership branches whose failure/cleanup behavior was independently exercised on macOS while validating Overlap Linux packaging and tarball smoke checks #6256; no test/check was removed or consolidated here.

AGENT GENERATED

@ymichael
ymichael merged commit 01f902a into main Nov 4, 2026
26 checks passed
@ymichael
ymichael deleted the bb/ci-mac-smoke-overlap branch November 4, 2026 04:33
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