fix(apple): report a timed-out foldable rotation as possibly applied, and warn that simulator wifi is status-bar only

Merged
IM
5d ago
+87-10

Summary

On a foldable iOS simulator, a rotation that timed out said "Unable to send", even when the screen had rotated. It now reports orientation-hid-dispatch-timed-out with dispatched: unknown, and the hint says to check with a screenshot and that a retry is safe.

On iOS simulators, settings wifi and settings airplane printed "Updated setting" although only the status bar changed. They now add a warning that the simulator keeps using the Mac's network, and commands.md says so.

Before / after

iPhone 17 Pro simulator (iOS 27.2):

$ settings wifi off
base a4f2dcad0: Updated setting: wifi
head 342917b6f: Updated setting: wifi
                Warning: settings wifi changes only the simulator status bar; the simulator keeps using the host Mac's network.

From tests, after fold half-open, with the helper taking more than 5 s:

$ orientation landscape-left
base: Unable to send the simulator orientation
head: Timed out sending the simulator orientation; the rotation may have applied

Validation

  • Head 342917b6f, check:affected --run --head, exactCommit: true. Every gate passes except unit, where upload-http-deadline and committed-source-tree fail the same way on clean main on this macOS host.
  • Run directly: provider integration (317 passed), command-docs, doc-links, doc-prose.
  • The new cases fail without the fix, and the error reasons page is regenerated.

Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.