Repository navigation
macOS:实现宿主资源与 ARM64 开机前检查 - #70
Merged
Merged
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.
DeathofBrain
force-pushed
the
codex/macos-4-preflight
branch
from
November 5, 2026 13:51
f8db988 to
5adf4c7
Compare
Merged
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.
通过 internal/macos 实现 Mach 可用内存、调用者可用磁盘和有超时的 Metal 查询,经 internal/host 接入预检;只有 HVF 输出与 exit0 同时满足才通过加速检查。API35 镜像同时核对 source.properties 的实际 API 与 ARM64 ABI,错误元数据阻断。
本轮同步主线诊断和创建取消逻辑,保留平台表命名常量。仓外 API/ABI 6 项,以及内存、磁盘、Metal 取消与 HVF 正反例通过。Metal 仅是宿主诊断,不能代表客体 Vulkan 验收。
阶段1 #62、阶段2 #68 已合入。本 PR 基于 main
3a5c971,保持 Draft。 主线新加入的诊断日志、日志采集所有权及创建取消逻辑均保留。macOS 实现在 internal/macos,公共入口为 internal/host;公开 Mac 创建/启停门禁继续保留。当前 HEAD
702f23b1bb60c944dc8e80a405642b395a5539cd;本轮本机原生 test/build/vet 通过;四阶段组合代码另通过 Windows/Linux 交叉 vet/build。当前提交的原有 CI。Windows 保持 API34、默认1080p。CI/workflow、scripts、构建配置和依赖相对同步主线无差异;没有新增测试文件、测试函数、验证脚本或仓库测试产物,仅同步已授权的旧测试引用/预期/平台范围。
本轮验证报告与边界。
Refs ModAVD/ModAVD#67, ModAVD/ModAVD#68, ModAVD/ModAVD#112。