Repository navigation
ci(ios): run the functional Harness suite on the simulator - #1080
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
hannojg
left a comment
There was a problem hiding this comment.
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.
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-buildagainst 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