Summary of changes
When the loopback is unavailable but a phone-paired mounted developer image can take tasks, the Loopback detail page now shows “Local automation ready” and does not tell the owner to turn on the loopback. The page also recognizes an open in-process session and an active local_ddi handover.
A network probe still in progress does not by itself establish local automation readiness.
Motivation (Closes #N)
Follow-up to #478. That change made the Connection overview and setup row recognize a mounted image, but the Loopback detail page still checked only an open session. After a task closes that session, it could instruct the owner to turn on the loopback while the overview said the next task was ready.
Test plan
- iPhone 18 Pro Test, iOS 27.3, isolated simulator bundle. Built PokiTests with Xcode and ran
FrontendSubtractionTests/testLoopbackPageShowsLocalAutomationWhenMountedImageCanTakeTasks. It passed with a phone pairing and mounted image, then verified that a computer pairing does not show local automation ready. - On the original upstream source,
testAfterATaskOnTheMountedImageNoScreenAsksForTheLoopbackreproduced the contradictory detail page. After the change its mounted-image page assertion passed. Three later assertions in the same existing test still failed while the live loopback probe was checking, and remain under investigation. - Physical iPhone and cellular behavior have not been verified.
Screenshots or screen recording
The simulator regression reads the rendered accessibility labels with synthetic pairing data. No physical-device screenshot is available yet.
AI assistance: Codex. I have reviewed and understand these changes.
Activity
3Thanks for fixing the detail page after a successful mounted-image task. Could you also cover a failed local session? The runner can still report local_ddi after the passcode prompt or session open fails, and the page then says “Local automation ready.” Please show that state alongside the successful standby case.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
0629a96ℹ️ About Codex in GitHub
Your 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.