Repository navigation
test: 等待子页面销毁后继续导航验收 - #11
Merged
Merged
Conversation
将 Activity 清理等待改为在主线程读取实际销毁状态,首页连续导航在主线程结束子页面后等待销毁,避免刚暂停就点击下一入口。保留六个入口、真实触摸及原有 3 秒启动断言,并同步中英文排障与定向验证说明。 新增未销毁 Activity 不得视为清理完成的设备回归:旧实现失败、修复后通过。复用 Android Studio 环境,在已授权 API 36 手机完成 231 项 JVM 测试、3 项库 instrumentation 和 19 项示例 release instrumentation,均零失败、零跳过。git diff --check 通过;API 35 云端结果仍待本提交对应 CI 验证。
logan0817
marked this pull request as ready for review
October 15, 2026 09:36
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.
改了什么
首页连续导航在主线程结束子页面,并等待其实际销毁后再点击下一入口。共享清理 helper 改为在主线程读取销毁状态,使用单调时钟限定等待;清理超时仍失败。新增回归明确拒绝把被覆盖、未销毁的 Activity 当作清理完成。
为什么改
main 的 CI run 32 在决策指南入口失败。logcat 显示点击时出现
InputDispatcher: No new touched window,前一个 NonUiCaseActivity 随后才销毁。原 helper 在 Activity 刚暂停时即可返回,存在可复现的同步缺陷;本地回归已验证旧实现失败、修复后通过。本 PR 的 API 35 完整运行已通过,单次成功仍不代表已证明不存在其他设备波动。影响范围
怎么验证
复用 Android Studio 现有 JDK 17、SDK 和共享 Gradle 缓存,在已授权 SM-S9010(API 36)上串行执行:
云端验收
CI run 33 attempt 1 完整通过:9/9 job 成功,端到端 9 分 15 秒,未重跑。受测 head 为 26df17a,checkout 合成合并提交为 7a00c15,基线 main 为 88bf7b2。
合并后主分支验收
已合并到 main,合并提交为 2700530,文件树与受测修复提交一致。CI run 34 attempt 1 全部 9/9 job 成功,端到端 9 分 12 秒,未重跑。
91ff3031fd36620899a209d96cb5ae89b1373e9f0670b4be52ff48d842e6dc79。还没做的事
未发布、未删除分支或修改远端规则。本地 API 36 结果与云端 API 21/35 证据分别保留。后续继续比较总耗时、任务耗时、缓存命中和总任务分钟数;不据此承诺固定提速或费用下降。
自检