Skip to content

Allow forwarding to fail to allow studio and flow to be active at the same time #2545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thejk
Copy link

@thejk thejk commented Jun 18, 2025

This is a bit of a workaround, both studio and flow forwards the driver-host-port (default 7001) for the android driver session. The forwarding fails for the second instance as the port is already open. But it doesn't really matter which driver-host is used, so let forwarding silently fail and let the android driver session continue.

Proposed changes

copilot:summary

Testing

Launched maestro studio and while it was still running, launched a test flow with maestro test.
Also ran integration and unit tests.

Issues fixed

Fixes #2188

… same time

Fixes mobile-dev-inc#2188

This is a bit of a workaround, both studio and flow forwards the
driver-host-port (default 7001) for the android driver session.  The
forwarding fails for the second instance as the port is already open.
But it doesn't really matter which driver-host is used, so let
forwarding silently fail and let the android driver session continue.
@IAmNatch
Copy link

IAmNatch commented Aug 7, 2025

Would be nice to see this PR land- this issue serious slows down development workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Studio and flow cannot be run at the same time
2 participants