Skip to content

test(ios): expect the AX bridge to derive hittability in the depth-frontier E2E - #2832

Merged
thymikee merged 1 commit into
mainfrom
test/ios-e2e-bridge-hittability
Sep 23, 2026
Merged

thymikee merged 1 commit into
mainfrom
test/ios-e2e-bridge-hittability

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

Every iOS Smoke Tests run on main and on rebased PRs fails at smoke:regular-visible-depth-frontier with regular depth-1 snapshot must disclose the Simulator AX bridge evidence gap (22 failed jobs on 17 branches today, including #2825 and #2820).

#2775 made the AX bridge derive geometric hittable and disclose the hittability gap only when no viewport is reported. The live scenario still required the old gap warning on every bridge capture. #2775 merged with this job red.

The scenario now asserts the #2775 contract: a bridge capture that has a viewport carries no hittability-gap warning, and the on-screen projected child is hittable: true. Test-only; 2 files.

Validation

  • fe2cbb8fd2: pnpm check:affected --run passed (format, lint, typecheck, fallow, related vitest).
  • Live: CI's fixture artifact (fingerprint.d6b4c1f5….ios, repacked with current JS) on a fresh iPhone 17 Pro / iOS 26.2 simulator; assertRegularVisibleDepthFrontier passed 3 of 3 consecutive runs. The pre-fix assertion fails on the same capture shape CI logged (hittable:true child, no warnings).
  • The iOS Smoke job on this PR is the authoritative check.

…ontier E2E

#2775 made the Simulator AX bridge stamp geometric hittable and disclose the
hittability gap only when no viewport is reported. The live depth-frontier
scenario still required the old gap warning on every bridge capture, so every
iOS Smoke run on main and on rebased PRs failed after #2775 merged.

Assert the new contract instead: a bridge capture with a viewport carries no
hittability-gap warning, and the on-screen projected child is hittable.
@github-actions

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
Installed (including dependencies) 4.80 MB 4.80 MB 0 B
Package (unpacked) 4.80 MB 4.80 MB 0 B
Package (download) 1.43 MB 1.43 MB -4 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.3 ms 26.4 ms +0.1 ms
CLI --help 78.5 ms 76.2 ms -2.4 ms

@thymikee

Copy link
Copy Markdown
Member Author

Reviewed at fe2cbb8. The new assertions in test/integration/ios-simulator-e2e/live-snapshot-depth-frontier.ts match how the AX bridge derives hittability and discloses the gap since #2775, so the test change looks right. No conflicts.

Smoke Tests was still queued at review time. This PR changes exactly the failing assertion, so a green iOS Smoke run on this head is the proof it needs.

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-23 17:21 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant