Skip to content

test: run package tests in parallel - #296

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/parallel-package-tests
Aug 10, 2026
Merged

test: run package tests in parallel#296
chenjiahan merged 1 commit into
mainfrom
chenjiahan/parallel-package-tests

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

The root test script currently follows workspace dependency order, so create-rstack waits for rstack even though their test suites are independent. This PR enables pnpm's --parallel mode so both package tests start together.

Benchmark

Local macOS benchmark with Node.js 24.12.0 and pnpm 11.20.0, using the median wall time from three runs per mode:

Mode Median Change
Serial 9.85s
Parallel 7.17s -2.67s (-27.2%)

All six benchmark runs passed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7d2a4fa
Status: ✅  Deploy successful!
Preview URL: https://d33ceaa8.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-parallel-package.rstack-cli.pages.dev

View logs

@chenjiahan chenjiahan changed the title perf(test): run package tests in parallel test: run package tests in parallel Aug 10, 2026
@chenjiahan
chenjiahan merged commit a14f872 into main Aug 10, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/parallel-package-tests branch August 10, 2026 13:50
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