You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 82b623d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ios): derive a served surface identity at the one stamping point
A runner fallback's comparison identity was decided per call site. The
`present` path and the off-route path read the runner's `systemSurface`
stamp, but the plain `runFallback` path did not: it stamped the app
lineage the route had planned, whatever the runner returned.
The probe and the capture are separate observations, so a sheet can
appear in the gap between them. With the bridge circuit already disabled
for the generation, an app capture and a later sheet capture both
received the same app-generation key, so tap corroboration could treat
two different surfaces as comparable.
`stampFallback` now owns the decision for every runner fallback: the
surface the runner served outranks the app lineage the route planned.
The reason the bridge was skipped survives either way, and
app-generation evidence leaves with the app lineage it describes, so two
captures of the same sheet still compare equal. `runSurfaceFallback`
keeps only the reason, which is the one thing that path decides.
return`Simulator AX snapshot inapplicable (${reason}); used XCTest to read the system surface presented over the app.`;
381
413
}
382
414
if(reason===SYSTEM_SURFACE_HOST_LINGERING){
383
415
return`Simulator AX snapshot inapplicable (${reason}); used XCTest, which read app content: the system surface host process was still running but no longer presenting.`;
384
416
}
417
+
// The bridge was skipped for its own reason and the runner then found a surface over the app. The
418
+
// app-generation sentence would describe a capture this is not, so the reason keeps its wording
419
+
// and the content sentence says what arrived.
420
+
if(served){
421
+
return`Simulator AX snapshot unavailable (${reason}); used XCTest, which read the system surface presented over the app.`;
0 commit comments