Skip to content

chore(test): use vmForks for Rstack tests - #617

Open
chenjiahan wants to merge 6 commits into
chenjiahan/fix-hooks-cross-realm-errorsfrom
chenjiahan/test-vm-forks
Open

chenjiahan wants to merge 6 commits into
chenjiahan/fix-hooks-cross-realm-errorsfrom
chenjiahan/test-vm-forks

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Motivation

Reduce test worker startup overhead by using vmForks for the Rstack package.

Changes

Enable vmForks and run three native-loader scenarios in Node subprocesses.

Depends on #621 for cross-realm filesystem error handling; this PR targets that branch to keep the diff focused on the pool migration. Config-watch test stabilization was merged separately in #620.

CI timings below are mean test command wall times from six alternating runs per pool on the same runner, after one warmup. All 42 executions passed with matching test counts between pools. These measurements used the earlier 200ms watch-test delay in both pools.

Runner forks vmForks Reduction
Linux 31.8s 28.2s 11.4%
macOS 38.9s 36.0s 7.5%
Windows 25.5s 23.7s 7.3%

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T14:02:13.767371Z 688a3a1 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 688a3a1
Status: ✅  Deploy successful!
Preview URL: https://5239616e.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-test-vm-forks.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan changed the base branch from main to chenjiahan/test-watch-startup-delay November 6, 2026 13:29
Base automatically changed from chenjiahan/test-watch-startup-delay to main November 6, 2026 13:40
@chenjiahan
chenjiahan changed the base branch from main to chenjiahan/fix-hooks-cross-realm-errors November 6, 2026 14:00

This branch has not been deployed

No deployments
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