Skip to content

ci(ios): run the functional Harness suite on the simulator - #1080

Merged
hannojg merged 1 commit into
mainfrom
hannojg/ios-harness-correctness
Dec 3, 2026
Merged

hannojg merged 1 commit into
mainfrom
hannojg/ios-harness-correctness

Conversation

@hannojg

@hannojg hannojg commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

The example app workflow builds the iOS simulator app and finishes without running its Harness tests. Android already runs its functional suite on ADC.

Run bun run test:ios --skip-build against the Debug app from the preceding step on an iPhone 17 simulator. This runs whenever CI selects the iOS build. A failed Harness assertion fails the iOS job. The Release performance experiments in #1067 and #1074 stay opt-in.

All six test files passed on the public Mac, 181/181 tests in 30.6 seconds of Harness execution. The same suite passed locally in 20.4 seconds. Hosted iOS run

The Android unit-test job also failed on the base commit while Robolectric was fetching a Maven artifact. A separate ADC run with identical app and test inputs passed 180/181. The server did not acknowledge a streaming cancellation within two seconds. Base Android unit-test job · Independent Android E2E run

@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nitro-ui-docs Ready Ready Preview Dec 3, 2026 6:29pm UTC

Request Review

@hannojg hannojg left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-generated first-pass review

AI-generated first-pass review

I did not find overlapping open or merged work beyond the already-linked opt-in Release experiments in #1067 and #1074. This PR is a narrower CI maintenance change for the default app workflow.

One review concern from the diff: the new step creates a simulator and immediately runs bun run test:ios --skip-build --device "$device", but unlike #1074's runner script it does not boot the simulator or wait for boot readiness first. If test:ios does not already boot-and-wait reliably for a fresh UDID, this can make the workflow flaky on CI. A maintainer should confirm the harness command's simulator lifecycle behavior, or add an explicit xcrun simctl bootstatus "$device" -b before invoking the tests.

I could not independently run the workflow on head 1bfa9e28962015a1219e512f09899fc3b00a2331, so any runtime validation of the new CI step still needs a maintainer or CI check.

About this AI review

NitroUI uses AI for an initial review so contributors get feedback sooner and maintainers can focus on the decisions that need their judgment. If a finding misses the mark, please reply here with the context so a maintainer can take a look.

@hannojg hannojg added area: cli CLI, packaging, starter templates, and native builds area: testing Test infrastructure and CI maintenance Engineering, operations, and internal tasks triage: needs human AI triage is complete and a maintainer decision or review is next labels Dec 3, 2026
@hannojg
hannojg marked this pull request as ready for review December 3, 2026 22:35
@hannojg
hannojg merged commit 9e24ba3 into main Dec 3, 2026
17 of 18 checks passed
@hannojg
hannojg deleted the hannojg/ios-harness-correctness branch December 3, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI, packaging, starter templates, and native builds area: testing Test infrastructure and CI maintenance Engineering, operations, and internal tasks triage: needs human AI triage is complete and a maintainer decision or review is next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant