OpenGUI icon indicating copy to clipboard operation
OpenGUI copied to clipboard

Multiple phones: can one task run on both?

Open HuggingNobody opened this issue 3 months ago • 1 comments

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.

HuggingNobody avatar Aug 23 '26 17:08 HuggingNobody

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.

dxcsmam avatar Aug 26 '26 07:08 dxcsmam