Sync desktop daily logs and fix emulator ADB upstream connections

This commit is contained in:
tongtong committed 2026-11-13 11:57:07 +08:00
1 parent 87e1fff59b
commit 0d269f3ded
15 files changed
+139 -12

No files matched your search

+8
View File
@@ -55,3 +55,11 @@ Port cleanup follow-up:
- Cleanup rechecks port ownership and process creation time, terminates only the matching process (not its entire process tree), verifies the port can be bound, and removes the corresponding local ADB endpoint.
- Fifteen .NET tests passed, including actual disposable listener-process termination, unrelated-process survival, stale identity rejection, and protection for the current process / ADB main-service port.
- Avalonia headless test invoked the new command against a real child listener and verified both process exit and port release. Temporary listener children were cleaned up after testing.
### 2026-11-13:模拟器离线修复与桌面日志同步
- Flutter 本地滚动日志中 `phone-006f8b2ae57e` 持续掉线;远端 Agent 对 emulator-5556/5558 报 `cannot reach phone adbd`。三个模拟器的主机 5555/5557/5559 端口均可返回 ADB CNXN。
- `ads-core` 对 `emulator-N` 改用同一 ADB 主机的 N+1 原始 adbd 端口;实体手机继续原有 smart socket 选定 transport 后连接内部 TCP adbd。错误状态保存完整错误链。
- 修复后的 Agent 已部署 Ubuntu-224,备份保留在原二进制旁。`phone-a9bbc18df94c` 通过公网 relay-1 被本地 ADB 识别并执行 shell;原离线虚拟 USB `ADS-phone-006f8b2ae57e` 已恢复 device,shell getprop ro.product.model 成功。临时网络 ADB 测试连接已断开。
- Rust ads-core 6 项测试、Avalonia 22 项测试、Flutter 27 项测试通过,Flutter analyze 无问题。
- 两桌面端新增打开日志目录;Avalonia 同步电脑名、电脑排序、固定高度刷新指示与按天滚动日志。安装位置采用 TongTongStudio,保留既有私有配置和日志路径。