Repository navigation
[Feature]: Device panel and device_open can't open a Simlock device from a baseline (a saved, signed-in simulator or emulator) #32810
maxlapides
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Neither the Device panel nor
device_opencan open a Simlock device from a baseline. A baseline is a saved simulator or emulator, for example one with a dev client installed and a test account signed in. Every Simlock device T3 Code opens is a factory device, so each thread installs the app and signs in again, which takes minutes. A baseline copy leased some other way can't be used either: T3 Code shows only devices it opened itself.What happens today
On
main(71c2d3a3),apps/server/src/device/SimlockDeviceHost.tsopens a catalog device with:There is no way to name a baseline.
device_opentakes onlyhostIdandid, and the Device panel's picker lists models only.Real example from 2026-11-07, on a Simlock 0.6.0 host with agent-device 0.21.36:
simlock baseline save): three iOS simulators and two Android emulators. Each has our development client installed and a staging test account signed in.simlock lease --platform ios --baseline <name>(or the Simlock MCPlease_simulatorwithbaseline) gives a fresh copy of the newest version, already signed in.device_listdoesn't list it, anddevice_openwith its UDID onlocalfails with "No device".Request
Let a Simlock open name a baseline:
baselineondevice_open, passed through to the Simlock lease.simlock baseline list, or the gateway's equivalent) next to the model picker. The platform, model and OS come from the baseline.BASELINE_STALE), or not matching the platform.The plumbing is mostly in place:
Simlock: the agent-device front leases from a named baseline since feat(agent-device): the front leases from a named baseline callstackincubator/simlock#1319 (merged 2026-11-05, for agent-device: allocate a device from a named baseline callstackincubator/simlock#1308). The grant reports the baseline name and version.
agent-device: feat(lease): name a backend baseline in a proxy lease device spec callstack/agent-device#4236 (open) adds
--device-baseline <name>(thedeviceBaselinespec key) to proxy leases. Once it ships, the open above can become:Why it matters
For mobile teams, the slow part of every device task is getting to a signed-in app: installing the right dev client, then a sign-in flow that often goes through a web view. Baselines remove both steps. Today that saving costs the Device panel, which is the main reason to run device work inside T3 Code.
Related: #28567 (choosing the iOS model and version) and #30336 (choosing the Android API level and image). Both are closed, but
mainstill passes only--platformand--deviceon open.All reactions