Skip to content

macOS:开放 ARM64 实例生命周期(阶段 7) - #95

Merged
qiyinxi merged 36 commits into
ModAVD:mainfrom
DeathofBrain:codex/macos-7-lifecycle
Nov 9, 2026
Merged

qiyinxi merged 36 commits into
ModAVD:mainfrom
DeathofBrain:codex/macos-7-lifecycle

Conversation

@DeathofBrain

@DeathofBrain DeathofBrain commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

在具备原生进程归属能力的 Apple Silicon macOS 上开放创建、恢复初始化、启动/接管、停止、查询、设置与删除,复用主线已有的取消、锁、PID+创建时间校验和失败状态恢复。补齐不创建文件的排他锁探测;Darwin 无 cgo 和其他未支持平台仍在操作入口拒绝。

macOS 支持已验证的官方 ARM64 Emulator 37.2.13,并移除该版本不支持的自定义气球参数;API35/ARM64、HVF、内存、磁盘及端口预检仍保留。Windows 模拟器包要求、参数、API34 和默认 1080p 保持。执行桥、运行中显示/隐藏窗口、实例内 Play Store 装卸仍保留各自门禁。

依赖 #72、#92;本阶段独立提交为 16190f1、09bd4a9,前置合并前相对 main 的完整 diff 包含依赖。保持 Draft,完整包与机器验收属于后续阶段。

验证环境:Apple M4 / macOS 26.6.2 (25G83) / Go 1.26.5。现有全量 test/build/vet、Darwin 无 cgo 全量测试、Windows/Linux 交叉 build/vet 通过。仓外 overlay 复用原有创建、恢复、取消、超时、进度和 CRUD 检查(15 组),另验证真实 flock 探测、缺失路径不创建、链接拒绝及官方版本门禁,全部通过。

真实隔离 SDK 克隆的公开 Create 已到达预检,并因可用内存约 3.8 GiB、4 GiB 实例需约 5.5 GiB 而正确阻断,状态为 create_failed,可恢复。没有绕过预检,本轮未完成 Android 开机验收。先前官方 API35 冷启动证据不能替代本 PR 公开生命周期验收。

不改 CI、脚本、依赖;无新增测试文件/函数、日志、结果或二进制。仅同步原有 unsupported 测试的平台适用范围。详细结果记录在 ModAVD/ModAVD#68。

本批统一验证记录:ModAVD/ModAVD#68 (comment)

Preserve upstream disk budgets and rotating logcat capture while routing new common native calls through the existing host facade. Keep Windows implementations, CI, and upstream test fixtures unchanged.
…cos-6-review

# Conflicts:
#	internal/components/fetch.go
@DeathofBrain
DeathofBrain marked this pull request as ready for review November 9, 2026 11:03
@qiyinxi
qiyinxi added this pull request to the merge queue Nov 9, 2026
Merged via the queue into ModAVD:main with commit 08d627e Nov 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants