feat: enable remote SDK and resilient device orchestration

This commit is contained in:
somew1nd committed 2026-08-30 00:41:07 -07:00
1 parent 3cc711df51
commit ddfa420945
110 files changed
+14450 -12954

No files matched your search

+5 -5
View File
@@ -163,14 +163,14 @@ async def run_part_3():
async def task_3a():
print(f"πŸš€ [Task 3A - Phone] Global mode starting: Executing on {PHONE_SERIAL}...")
res = await client_phone_g.run("Use manage_app to launch Settings app and report task status completed", profile="flash")
print(f"βœ… [Task 3A - Phone] Finished")
print("βœ… [Task 3A - Phone] Finished")
return res
async def task_3b():
await asyncio.sleep(0.4)
print(f"πŸš€ [Task 3B - Emulator] Global mode starting: Targeting {EMULATOR_SERIAL} (should queue due to global limit)...")
res = await client_emu_g.run("Use manage_app to launch Settings app and report task status completed", profile="flash")
print(f"βœ… [Task 3B - Emulator] Finished")
print("βœ… [Task 3B - Emulator] Finished")
return res
t3a = asyncio.create_task(task_3a())
@@ -199,16 +199,16 @@ async def run_part_4():
client_emu = ArtemisClient(device_serial=EMULATOR_SERIAL, concurrency_mode="per_device")
async def task_4a():
print(f"πŸš€ [Task 4A - Phone] Started...")
print("πŸš€ [Task 4A - Phone] Started...")
return await client_phone.run("Use manage_app to launch Settings app and report task status completed", profile="flash")
async def task_4b():
await asyncio.sleep(0.4)
print(f"πŸš€ [Task 4B - Phone] Started (Queued behind 4A)...")
print("πŸš€ [Task 4B - Phone] Started (Queued behind 4A)...")
return await client_phone.run("Use manage_app to launch Clock app and report task status completed", profile="flash")
async def task_4c():
print(f"πŸš€ [Task 4C - Emulator] Started concurrently with 4A...")
print("πŸš€ [Task 4C - Emulator] Started concurrently with 4A...")
return await client_emu.run("Use manage_app to launch Settings app and report task status completed", profile="flash")
t4a = asyncio.create_task(task_4a())