Repository navigation
Rehearse Collection report recovery on an iOS simulator - #152
jackshim415 wants to merge 9 commits into
Conversation
Use a disposable unsigned simulator build and loopback fixture to verify that an endpoint outage and process restart preserve the original report UUID through exactly one successful retry. Refs: LVT-262
|
🚅 Deployed to the lovat-pr-152 environment in lovat
2 services not affected by this PR
|
Opt same-repository changes to the simulator harness into a one-time exact-head run. Preserve manual candidates and never allocate Android for pull requests. Refs: LVT-262
Refs: LVT-262
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Lovat AI reviewStatus: completed · Model: Reviewed commit: Critical: 0 · High: 0 · Medium: 0 · Low: 0 Overall assessmentThe PR adds an iOS simulator rehearsal path to the existing native candidate workflow, a fixture ledger checker, and platform-specific Maestro adjustments. The workflow guards are sound: the iOS job only runs for same-repository pull requests or explicit dispatch, uses a read-only token, checks out a pinned head SHA, and the script refuses to run outside a disposable Actions macOS checkout or with the production API in the bundle. The ledger assertions correctly enforce single-submission, same-UUID replay semantics, and the fixture changes are additive and consistent with the existing synthetic data. I found no concrete correctness, security, or data-integrity defect in the changed lines. No high-confidence issues were found in the reviewed changes. Review details
Limitations
|
Keep the normal app onboarding assertions and accept only the known Collection handoff on iOS. Incorporate the verified Android and Dashboard work already on main. Refs: LVT-262
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Keep waiting for and tapping the exact fixture on either platform, accepting its known location suffix on iOS. Refs: LVT-262
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Wait for an exact recognized post-link state before handling the system handoff, then require confirmation that Collection accepted the fixture URL. Refs: LVT-262
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
If the welcome screen returns after system consent without an app confirmation, resend the same synthetic URL once and still require its confirmation. Refs: LVT-262
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Return the seeded match through the app's online check before the simulator outage. Unknown matches stay explicit 404s, and verification does not write lifecycle evidence.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Rotate XCUITest after entering the landscape game and restore portrait after both End match taps, keeping the original accessibility checks.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What changed
Add an opt-in iOS job to Collection native candidate tests. It builds an unsigned standalone app at the selected SHA and runs the six existing Maestro flows on a clean iOS 27 simulator. The fixture is stopped before recording, and the ledger verifies that History retries once with the original UUID after a process restart. Android remains the default, with its existing jobs and flows unchanged.
Areas affected
Contracts and data
Verification
actionlint1.7.12, workflow pin/privilege policy,./scripts/check-structure.sh,git diff --checkandbash -n apps/collection/scripts/test-native-ios.shpassed.node --test apps/collection/test/native/ios-ledger.test.mjspassed 3 cases;python3 -m unittest discover -s apps/collection/test/native -p '*_test.py'passed 7. YAML guard confirms manual-only event, unchanged Android steps, read-only iOS permission, and all six existing flows. The helper refuses to build on Linux without creating a native project.platform: ios, leaving both APK inputs blank; the GitHub-hostedxcode-27runner is a public preview.Deployment
Manual CI only; no EAS, signing, production network, or release settings change. A simulator pass covers endpoint outage and app restart, not physical airplane mode, signed install/upgrade, camera, or QR transfer. LVT-262.