Repository navigation
fix(apple): report a timed-out foldable rotation as possibly applied, and warn that simulator wifi is status-bar only - #5019
Conversation
…plied, not unsent
…nge only the status bar
|
Thanks for the fix. The PR is ready at 342917b, and the code looks correct. No conflicts are known. The only checks not passing are two cancelled "Body rules" runs, which look unrelated to this diff, so merge once they rerun green. Not blocking, and fine to take or leave: add one sentence to the settings help paragraph at https://github.com/callstack/agent-device/blob/342917b/packages/command-surface/src/capture/settings.ts#L108 so the CLI help also says simulator wifi is status-bar only; assert the message text (setting name and status bar) in the wifi/airplane test at packages/platform-apple/src/core/tests/app-settings.test.ts#L574; consider a follow-up issue for the pose dispatch in https://github.com/callstack/agent-device/blob/342917b/packages/platform-apple/src/foldable/fold-helper.ts#L181, which can also land after its timeout; and split unrelated fixes into separate PRs next time. Not verified here: the tests were not run, no simulator run was done, a live timed-out rotation was not reproduced, and the PR body output has no backing artifact. |
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-outwithdispatched: unknown, and the hint says to check with a screenshot and that a retry is safe.On iOS simulators,
settings wifiandsettings airplaneprinted "Updated setting" although only the status bar changed. They now add a warning that the simulator keeps using the Mac's network, andcommands.mdsays so.Before / after
iPhone 17 Pro simulator (iOS 27.2):
From tests, after
fold half-open, with the helper taking more than 5 s:Validation
342917b6f,check:affected --run --head,exactCommit: true. Every gate passes exceptunit, whereupload-http-deadlineandcommitted-source-treefail the same way on clean main on this macOS host.command-docs,doc-links,doc-prose.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.