fix(limrun): report the session device id in iOS settings refusals
Merged
TH
2mo ago+84+84+01234567890123456789-59-59-01234567890123456789
Summary
A Limrun iOS settings refusal reported deviceId: 'booted', because the simctl plan used the simctl udid as the device id. On Limrun the udid is always booted, so the caller could not tell which session's device refused.
SimctlSettingRequestnow lives in@agent-device/contracts/settings.provider-limrunused a hand-copiedLimrunIosSimctlSettingRequest; that copy is deleted.- The request has a required
deviceId, separate fromudid. Limrun passessession.device.id; the local simulator path passesdevice.idfor both. No caller can fall back to the udid. - The lazy-load test in
src/sdk/limrun-runtime-dependencies.test.tsnow counts evaluations of the Apple simctl plan module, which is what its name claims.
8 files, 143 gross lines.
Validation
At 360f3e2260: pnpm check:affected --run passes (508 files, 3985 tests). A new plan test sends udid: 'booted' with deviceId: 'limrun:ios:lease-a' and checks that the refusal reports the device id while simctl still receives booted.