feat: release 1.4.0 with isolated upgrades and device discovery

This commit is contained in:
chenmingxuan committed 2026-10-09 15:46:28 +08:00
1 parent a6a3ee2eb0
commit df66897ff4
41 files changed
+1564 -126

No files matched your search

+3
View File
@@ -26,6 +26,7 @@ import time
from typing import Any
from artemis.runtime.adb_endpoint import AdbSession, current_adb_endpoint
from artemis.runtime.adb_discovery import adb_device_discovery
from artemis.runtime.device_lock import DeviceExecutionLock
from artemis.toolchain import toolchain
from artemis.utils.logger import get_logger
@@ -108,6 +109,7 @@ class DevicePool:
adb = self._resolve_adb()
if not adb:
return None
adb_device_discovery.refresh(adb)
try:
res = subprocess.run(
[adb, "devices", "-l"],
@@ -132,6 +134,7 @@ class DevicePool:
adb = self._resolve_adb()
if not adb:
return None
await asyncio.to_thread(adb_device_discovery.refresh, adb)
proc = None
try:
proc = await asyncio.create_subprocess_exec(