Skip to content

feat: allocate Metro ports for concurrent harness runs#96

Open
V3RON wants to merge 5 commits intomainfrom
feat/random-metro
Open

feat: allocate Metro ports for concurrent harness runs#96
V3RON wants to merge 5 commits intomainfrom
feat/random-metro

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented Apr 3, 2026

Summary

  • add lock-backed Metro port fallback so concurrent Harness runs can move off a busy configured port before Metro and platform startup begin
  • keep the resolved Metro port consistent through runtime setup, logging, and Jest global config, and surface a clear fallback or exhaustion message
  • add tests for fallback, exhaustion, and iOS physical-device behavior plus a version plan describing the user-facing change

Validation

  • pnpm vitest run packages/jest/src/tests/harness.test.ts packages/jest/src/tests/metro-port.test.ts packages/platform-ios/src/tests/instance.test.ts packages/platform-android/src/tests/instance.test.ts
  • pnpm nx test jest

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-harness Ready Ready Preview, Comment Apr 3, 2026 0:50am

Request Review

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