Skip to content

Rehearse Collection report recovery on an iOS simulator - #152

Open
jackshim415 wants to merge 9 commits into
mainfrom
jackshim415/lvt-262-ios-simulator-release-journey
Open

jackshim415 wants to merge 9 commits into
mainfrom
jackshim415/lvt-262-ios-simulator-release-journey

Conversation

@jackshim415

Copy link
Copy Markdown
Contributor

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

  • Collection
  • Shared documentation, CI, or deployment

Contracts and data

  • No API, report-schema, authentication, deep-link, season-metric, or database contract changed
  • No credentials, production data, or private scouting notes are included

Verification

  • actionlint 1.7.12, workflow pin/privilege policy, ./scripts/check-structure.sh, git diff --check and bash -n apps/collection/scripts/test-native-ios.sh passed.
  • node --test apps/collection/test/native/ios-ledger.test.mjs passed 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.
  • Actual simulator run is pending. Dispatch this branch with platform: ios, leaving both APK inputs blank; the GitHub-hosted xcode-27 runner 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.

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
@railway-app

railway-app Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the lovat-pr-152 environment in lovat

Service Status Web Updated
worker ⏭️ Skipped (View Logs) Nov 23, 2026 at 11:42 pm UTC
dashboard 😴 Sleeping (View Logs) Web Nov 23, 2026 at 12:55 am UTC
website 😴 Sleeping (View Logs) Web Nov 23, 2026 at 12:52 am UTC
learn 😴 Sleeping (View Logs) Web Nov 23, 2026 at 12:50 am UTC
api ✅ Success (View Logs) Web Nov 23, 2026 at 12:46 am UTC
2 services not affected by this PR
  • support
  • worker

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
@jackshim415
jackshim415 marked this pull request as ready for review November 22, 2026 23:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-24T06:08:35.537989Z
We couldn’t complete this review. Comment @codex review to try again.
696131a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Lovat AI review

Status: completed · Model: z-ai/glm-5.3-flash · Findings: 0

Reviewed commit: 696131ac1dc6ef539244946e7470ecb2f0b2db75

Critical: 0 · High: 0 · Medium: 0 · Low: 0

Overall assessment

The 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

  • Review batches: 1
  • Diff characters reviewed: 24,748
  • Tokens: 9,509 prompt + 2,701 completion
  • Estimated inference cost: $0.0019

Limitations

  • The reviewer examined only changed lines and their diff context, not the whole repository.

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
@chatgpt-codex-connector

Copy link
Copy Markdown

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
@jackshim415
jackshim415 marked this pull request as draft November 23, 2026 16:42
@jackshim415
jackshim415 marked this pull request as ready for review November 23, 2026 16:42
@chatgpt-codex-connector

Copy link
Copy Markdown

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
@jackshim415
jackshim415 marked this pull request as draft November 23, 2026 23:03
@jackshim415
jackshim415 marked this pull request as ready for review November 23, 2026 23:03
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

github-actions[bot]

This comment was marked as outdated.

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
@jackshim415
jackshim415 marked this pull request as draft November 23, 2026 23:42
@jackshim415
jackshim415 marked this pull request as ready for review November 23, 2026 23:42
@chatgpt-codex-connector

Copy link
Copy Markdown

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.
@jackshim415
jackshim415 marked this pull request as draft November 24, 2026 05:28
@jackshim415
jackshim415 marked this pull request as ready for review November 24, 2026 05:28
@chatgpt-codex-connector

Copy link
Copy Markdown

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.
@jackshim415
jackshim415 marked this pull request as draft November 24, 2026 06:08
@jackshim415
jackshim415 marked this pull request as ready for review November 24, 2026 06:08
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

This branch was successfully deployed

1 active (outdated) deployment
lovat / lovat-pr-152 — fbaf3f97 Deployed Nov 23, 2026 by railway-app[bot]
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