Multiple phones: can one task run on both?
The CLI can be called twice with two device IDs, but it is not clear whether concurrent runs are supported or whether each result stays tied to the right phone.
A batch command is probably not necessary for the first version. A documented example or small wrapper for multi-device runs would already make this clearer.
Thanks for raising this — it is a great question, especially for anyone testing OpenGUI with more than one phone.
Current behavior
OpenGUI can already:
- discover multiple standby devices;
- list them with
pnpm opengui -- devices; - target a specific phone with
--device <deviceId>.
However, the current remote-control flow supports only one active execution at a time. If another execution is started, even on a different phone, it will replace the execution that is already active.
The results will not be mixed between devices. Each execution remains associated with the phone selected when that execution was created.
Expected behavior
We would like multi-device execution to work as follows:
- different phones can run executions independently and concurrently;
- each phone has at most one active execution;
- execution status and results remain associated with the correct device.
We will keep this issue open to track multi-device concurrency as an enhancement.
Thanks again for bringing this up — the example is helpful for clarifying the expected behavior.