Skip to content

mob.deploy without --device fans out to every reachable device (second fan-out hazard after mob.push) #53

Description

@GenericJam

Observed during a PR review: a first 'mix mob.deploy --native' run without --device installed the probe APK on the physical Moto AND the pool emulator, and attempted BEAM pushes to 3 iPhones (all failed app-not-installed, with a misleading 'on-device override now incomplete' warning for an app that never existed). ANDROID_SERIAL is not honored as a target filter. With agent fleets sharing a device pool this cross-contaminates other lanes' targets — an unleased probe app took the foreground on another agent's leased emulator slot this way. Asks: (1) honor ANDROID_SERIAL, or (2) require an explicit --device/--all choice when more than one device is reachable (interactive prompt or hard error in non-tty), and (3) fix the misleading override warning when the app was never installed. Companion hazard already documented for mob.push in mob's agentic-coding guide — that section should mention bare mob.deploy too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions