Fix cloud CLI auth and post-merge regressions#376
Merged
Conversation
|
Docs PR opened: https://github.com/droidrun/mobilerun-docs/pull/24 Documented the cloud CLI auth flow, including login, logout, whoami, devices --cloud, and the MOBILERUN_CLOUD_API_KEY variable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MOBILERUN_CLOUD_API_KEYand intentionally ignore legacyMOBILERUN_API_KEYfor cloud commands.mobilerun devices --cloudfail nonzero for missing auth or SDK/API errors while keeping plainmobilerun devicesbest-effort for local listing.TUILogHandlercompatibility exports.Test Plan
UV_CACHE_DIR=/private/tmp/uv-cache uv sync --python 3.13 --group dev --lockedUV_CACHE_DIR=/private/tmp/uv-cache uv run ruff check .UV_CACHE_DIR=/private/tmp/uv-cache uv run pytest -qUV_CACHE_DIR=/private/tmp/uv-cache uv run python -m compileall -q mobilerun testsUV_CACHE_DIR=/private/tmp/uv-cache uv lock --checkmobilerun/cli/tui, notextual, no public TUI marketing textMOBILERUN_CLOUD_API_KEY=fake/device/codeendpoint returned valid device/user codesMedium_Phone_API_36.1:ping,devices,device ui,device screenshot,device press home