Repository navigation
macOS:管理器窗口与实例配置检查(阶段 9) - #93
Open
DeathofBrain wants to merge 37 commits into
Open
DeathofBrain wants to merge 37 commits into
DeathofBrain wants to merge 37 commits into
Conversation
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
Merged
DeathofBrain
marked this pull request as ready for review
November 9, 2026 11:03
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.
macOS 管理器通过默认浏览器打开本地页面,
--chrome-window可使用独立 Chrome 配置;Chrome 不可用时回退默认浏览器。补齐 Finder、单实例目录身份及.app外层根目录发现。原生桌面操作位于internal/macos,经internal/host调用;保留 Windows Edge 行为。电脑检查现在按选中实例的下次开机内存检查。例如实例改成 3072 MB 后,检查使用 3 GB,而不会继续按默认 6 GB 报错。保存内存会重新检查,切换目标和较晚返回的旧请求不会覆盖新配置;内存不足只影响当前检查目标,共享宿主/组件故障仍会阻止所有实例启动。实际启动继续按目标内存执行实时预检。无实例或选择“新建实例”时仍按默认 6 GB 检查。
本 PR 为阶段 9,保持 Draft。窗口实现依赖 #72、#92;macOS 实例配置读取依赖生命周期 PR #95。前置合并前相对 main 的完整 diff 包含依赖改动。完整签名打包另行推进。
验证:Apple M4 / macOS 26.6.2 (25G83) / Go 1.26.5。现有 cmd/ui/root 测试和 vet、Windows/Linux 交叉构建、Darwin 无 cgo 构建通过。仓外 overlay(含 race)验证启动参数、Chrome fallback、根目录别名、窗口退出、Finder 路由;真实双进程无窗口 smoke 验证唯一服务和状态清理。内存修复通过现有 51 项前端测试、UI/emu 测试及 vet、Windows 交叉构建;仓外验证覆盖默认/指定实例、缓存、保存内存、目标切换和异步响应。
不改 CI、构建脚本或依赖,不加入测试脚本、结果、日志或二进制。原有 unsupported 测试仅机械调整 build tag,原函数和断言保留;本次内存修复没有修改仓内测试。详细验证结果记录在 ModAVD/ModAVD#68。
本批统一验证记录:ModAVD/ModAVD#68 (comment)
实例内存检查修复与本地页面验证:ModAVD/ModAVD#68 (comment)