Skip to content

test(collection): validate native offline reports and prepare device acceptance - #125

Merged
jackshim415 merged 24 commits into
mainfrom
jackshim415/lvt-262-native-candidates
Nov 21, 2026
Merged

jackshim415 merged 24 commits into
mainfrom
jackshim415/lvt-262-native-candidates

Conversation

@jackshim415

@jackshim415 jackshim415 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Collection now has a repeatable standalone Android candidate build and an installed-app offline/restart/retry journey. Recognize Android's native fetch transport errors so scouting can start offline while keeping HTTP, schema and local-storage failures visible. Preserve the match-selection container's native parent while Home closes to prevent the observed Android mounting crash. Closed outpost overlays unmount their touch controls, and visible controls have accessible labels.

Build a clean synthetic x86_64 APK, verify its exact source revision, and retain its hash, JUnit, screenshots, UI snapshots, logcat and build diagnostics. The test-only network policy permits exact localhost hosts. Settle KVM permissions before emulator startup and preserve failures through diagnostic pipelines. Required assertions cover starting-position selection, match start, recording/Undo state, saved History after process restart, reconnect/retry and exactly one successful upload with the original UUID.

Android's first-use full-screen education hint can cover the field while underlying app controls remain discoverable. A static pre-match helper acknowledges only that known system hint using its Android package and exact title/button resource IDs, then verifies the active app window, field availability and disabled Start. It retains the hint snapshot and rejects unrelated or ambiguous dialogs. All timed recording, Undo and native menu actions run through the shared Maestro flows. Android's global-idle snapshot CLI is never used after the real match timer starts; failed captures delete their old device snapshot so stale XML cannot pass an assertion. Regression tests cover the captured system hint and the observed zero-exit idle-capture failure. Outpost intake remains available across match phases, without changing production timing.

Prepare Jack-owned Android/iOS release records for launch/upgrade, persistence, offline retry and multipart QR transfer with receiving Dashboard camera grant/deny. Physical-device and Collection iOS operator acceptance remain pending. Preserve production ownership, signing and app version/build numbers.

Validation: native acceptance run44874874668 passes the complete installed Android journey, including recording/Undo, native menu, offline save, process restart, History retry, settings/deep links and exactly one upload with the original UUID. Local checks include seven preparation/guard tests, lint, formatting, TypeScript, Python compilation, shell syntax and diff checks; the app suite passes 116 legacy +31 Jest tests. Previous PR CI also passed.

Synced current main2d4c1d5b into head9aa0e0ab to satisfy strict up-to-date merge protection. Collection's full app tree (2168f07a0b89bdedda964c312ae2cdebed050579) and native workflow blob (7c78f4aa312a7f755307c0cb452dca3aa6da55fe) are identical to the successful native source10776a4b. Fresh required PR CI44925326119 is running on the synced branch. Physical-device and Collection iOS operator acceptance remain prepared manual release checks.

Refs: LVT-217, LVT-262.

Generate a fresh test-only native project, retain its APK identity and failure diagnostics, and enable emulator acceleration. Align SDK 58 patch dependencies required by the compatibility gate.

Refs: LVT-217, LVT-262
Record exact signed candidate identity and separate pending Android, iOS and receiving Dashboard camera/QR evidence.

Refs: LVT-262
@railway-app

railway-app Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

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

Service Status Web Updated
api ✅ Success (View Logs) Web Nov 21, 2026 at 4:36 pm UTC
website ✅ Success (View Logs) Web Nov 21, 2026 at 4:36 pm UTC
learn ✅ Success (View Logs) Web Nov 21, 2026 at 4:35 pm UTC
worker ✅ Success (View Logs) Nov 21, 2026 at 4:35 pm UTC
dashboard 😴 Sleeping (View Logs) Web Nov 20, 2026 at 11:58 pm UTC
1 service not affected by this PR
  • support

Android release lint requires explicit includeSubdomains attributes. Keep the generated test policy limited to exact localhost hosts.

Refs: LVT-217, LVT-262
Installed-app tests exposed native fetch failures that were not treated as offline. Preserve HTTP/schema failures and exercise a real accessible intake action before undo in the restart journey.

Refs: LVT-262
Expo now requires expo 58.0.25 and expo-dev-client 58.0.20. Keep the live compatibility gate and app version unchanged.

Refs: LVT-262, LVT-273
@jackshim415 jackshim415 changed the title test(collection): build native candidates and prepare device acceptance test(collection): validate native offline reports and prepare device acceptance Nov 13, 2026
Retained screenshots show the flow remained in Pre-Match after early taps during rotation. Assert selected pose and enabled Start before recording intake; failed state transitions stay visible.

Refs: LVT-262
Validate the Collection changes against the new shared contracts and approved Dashboard SDK before merging.

Refs: LVT-262, LVT-273
@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-125 November 13, 2026 00:57 Destroyed
Keep selected-pose assertions while retrying unchanged input during Android rotation. Retain scoped Maestro diagnostics, reset only this run\047s synthetic ledger, and use cross-platform UI Back controls.

Refs: LVT-262
Verify the starting-position component with real press events and preserve all native assertions across separate driver sessions.

Refs: LVT-262
Remove hidden native touch targets and restore backdrop dismissal. Retain the original native failure result while capturing a separate Android input diagnostic.

Refs: LVT-262
A retained failure diagnostic proves that Android input selects Hub at the exact coordinates where Maestro gRPC tap has no effect. Use the pinned driver supported long-press shell path for controls without long-press actions; keep all state assertions.

Refs: LVT-262
Resolve fresh accessibility bounds and reject absent, disabled or ambiguous controls. Preserve short-tap semantics, per-step UI evidence and JUnit failures; keep the portable Maestro menu flow for iOS.

Refs: LVT-262
Require Undo to enable after intake, disable after undo, and enable again after recording the final event.

Refs: LVT-262
Update Expo, dev client, router and Jest preset to the patch versions required by the online compatibility gate, with their resolved dependency patches.

Refs: LVT-262
Keep the match-selection wrapper mounted as a native view when its checking gate resets during Home replacement. This prevents Fabric from reparenting its children inside an active Android screen removal transition.

Refs: LVT-262
Use the input path proven by native diagnostics, retain per-step selection and Undo assertions, and record JUnit and accessibility snapshots. Exercise outpost intake across match phases without changing the real clock; keep portable iOS Maestro flows.

Refs: LVT-262
…d input

Detect the exact system hint from its active-window package and resource IDs, require one enabled confirmation target, then read the app window again. Retain the captured hint and reject unrelated or ambiguous dialogs.

Refs: LVT-262
Limit global-idle UI capture to static pre-match preparation and run timed recording and menu assertions through Maestro. Delete old device snapshots before capture, and regress the zero-exit idle failure so stale XML cannot pass a test.

Refs: LVT-262
@jackshim415
jackshim415 marked this pull request as ready for review November 21, 2026 16:30
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T16:33:14.804735Z 10776a4 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-21T16:33:49.567933Z 10776a4 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.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Lovat AI review

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

Reviewed commit: 9aa0e0abf9664573292ce9b75453083fb2871408

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

Overall assessment

This pull request is almost entirely test infrastructure: a CI workflow for building and validating a native Android candidate APK, Maestro flow splits, a UI-automation preparation script, accessibility labels, and documentation. The workflow's input validation correctly rejects partial inputs, the artifact source-SHA check is preserved, the build script restricts cleartext networking to loopback in generated files only, and the new offline-error handling in checkMatchExists is narrowly scoped and covered by the added unit test. I found no concrete correctness, security, or data-integrity defect introduced by the changed lines.

No high-confidence issues were found in the reviewed changes.

Review details

  • Review batches: 1
  • Diff characters reviewed: 45,756
  • Tokens: 14,432 prompt + 3,902 completion
  • Estimated inference cost: $0.0032

Limitations

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

@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-125 November 21, 2026 16:34 Destroyed
@jackshim415
jackshim415 merged commit e5d0d88 into main Nov 21, 2026
28 checks passed

This branch was successfully deployed

No deployments
lovat / lovat-pr-125 — 9aa0e0ab Deployed Nov 21, 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