Repository navigation
Conversation
…ps (DRO-4147) The framework drops its own device stack and uses mobilerun-core's AsyncDevice everywhere. - CLI: options.py/DeviceTarget replaced by device_command, cloud_command and run_command, which inject a connected core device. - clients/cloud: bound CloudResource adapters, PaymentFlow, billing policy. - core: ScreenView/ModelGeometry, recording moved to core/runs and driven by core action hooks; core Action, Observation, DeviceDescriptor and AppIdentity replace the framework copies. - macro: rows are stamped schema_version 2 and now keep the action's started_at (display only; replay ignores it). Older macros still load. - sandbox, extensions, credentials, config: split into one role per folder. - demos: easy_macro_demo.py records, resets and replays a short macro. Requires mobilerun-core 2.0.0 (droidrun/mobilerun-core#83).
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
Owner
Author
|
Moved to droidrun#558 |
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.
Stacked on the base rework (droidrun/mobilerun#553). Ticket: DRO-4147.
What changes
The framework drops its own device stack and uses
mobilerun-core'sAsyncDeviceeverywhere.options.py/DeviceTargetare gone.device_command,cloud_commandandrun_commandinject a connected core device.CloudResourceadapters,PaymentFlow, billing policy.ScreenView/ModelGeometry; recording lives incore/runsand is driven by core action hooks. CoreAction,Observation,DeviceDescriptorandAppIdentityreplace the framework copies.schema_version: 2and keep the action'sstarted_at. Display only: replay ignores it. Older macros still load.tests/demos/easy_macro_demo.pyrecords a short macro, resets the phone and replays it.{"schema_version":2,"i":1,"action":"start_app","args":{"app_id":"com.android.settings","activity":null},"started_at":"2026-11-30T16:33:52.002939Z"}Verification
pytest tests/unit: 3,117 passed, 75 skipped.ruff,blackandmypy mobilerunclean on the files touched last;mypy mobilerunclean overall.easy_macro_demo.pyrun live on a local emulator and one cloud phone.Open points
mobilerun-core2.0.0 (droidrun/mobilerun-core#83), not published yet.uv.lockmust be regenerated once it is, so CI here will not be green before that.skills/submodule edits are not part of this PR; they need their own commit indroidrun/skills.Change brief (private Notion page): https://app.notion.com/p/428ad8f2ae57813f993cf935227d10db