Repository navigation
fix: 保留实体屏 Core 启动失败的通道与诊断 - #287
Open
lzh2034855417-beep wants to merge 5 commits into
Open
lzh2034855417-beep wants to merge 5 commits into
lzh2034855417-beep wants to merge 5 commits into
Conversation
lzh2034855417-beep
marked this pull request as ready for review
November 30, 2026 11:26
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.
实体屏 Core 在握手前启动失败时,回执的
channel为空,具体错误又被通用PRIV_CORE_START_UNKNOWN覆盖,且没有启动结果诊断记录,导致 #286 一类现场难以继续定位。本次在选择后即记录通道,失败回执增加
startupStage和经过白名单的diagnostic,保留具体启动线索;Logcat 与私有诊断记录相同的固定摘要。私有日志通过容量 16 的单线程后台队列尽力保存,拥塞丢弃,不把磁盘等待放进管理器锁。摘要不记录输出、异常消息、端口、token 或 Core 实例。派发后的不确定结果保持
EXECUTION_UNKNOWN、automaticRetry=false,不自动重启或换通道。channel表示本次选择,不能当作真实 UID 或 Core 就绪证明。此补丁只修复可观测性,OPPO/Android 16 的实际启动原因仍需新的设备证据,因此引用 #286,暂不关闭整条 issue。验证:
ac7b6d6的 46392074299,12 项中新增 5 项预期断言失败,0 errors/skips。40ebe51的 46393287457,PhysicalScreenManagerTest 13 项通过,0 failures/errors/skips;包含失败分类、正常启动只记一次、敏感输出保护及既有不重放行为。使用注入通道/transport,未执行真实 su、镜像或输入。PhysicalScreenManager属于现有 launcherInputs,故描述符仅更新该源码摘要及对应 runtimeId(4297c6e0…),基础环境版本不变。没有构建、安装或验收新 APK。完整 diff 和生成文件已由独立 AI 审查会话逐行审阅;最新提交的常规 CI 结果以 PR checks 为准。最终提交
8b496fc89f9e9283611b45b61705e0738b5975ae的 fork Source checks 46394176268 五任务全部成功:源码模式 JVM 4501 项、0 failures/errors/skips,宿主 fast 97 个入口全部 PASS,契约与完整 Java 格式检查通过;文档检查 也已通过。上游 PR 的两项 Actions 目前为action_required,仍需维护者批准运行,不能把 fork 验证称为上游已验收。