Skip to content

ci(macos): run shared desktop integration tests - #352

Merged
chrispader merged 2 commits into
codex/macos-examplefrom
codex/macos-integration-tests
Sep 21, 2026
Merged

chrispader merged 2 commits into
codex/macos-examplefrom
codex/macos-integration-tests

Conversation

@chrispader

@chrispader chrispader commented Sep 10, 2026

Copy link
Copy Markdown
Member

The mobile test runner cannot launch a macOS desktop process or collect its results. Without a desktop runner and CI jobs, the new macOS package and example support can regress without being exercised.

This PR runs the shared Mocha suite in the macOS example and returns its report through a local HTTP endpoint. The runner monitors Metro before waiting for readiness, reports early process exits and timeouts, cleans up child process groups, and distinguishes test results from suite headings when counting passes and failures.

Five process-level regression tests cover success, reported failures, timeouts, early Metro exit, and early app exit. The macOS build and integration workflows exercise the native packages and example together.

Depends on #351. Fixes #340. Fixes #341. Fixes #342.

@chrispader
chrispader added this pull request to stack #371 September 21, 2026 10:42
@chrispader
chrispader force-pushed the codex/macos-integration-tests branch from bc5f461 to 593c873 Compare September 21, 2026 11:21
@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Sep 21, 2026 1:01pm UTC

Request Review

@chrispader
chrispader force-pushed the codex/macos-integration-tests branch 2 times, most recently from 824ca58 to 3d700d1 Compare September 21, 2026 13:01
@chrispader
chrispader merged commit 384839e into main Sep 21, 2026
17 of 19 checks passed
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.

Exclude suite headings from the macOS test pass count Handle Metro process failures before readiness Extract macOS integration testing and CI

1 participant