Repository navigation
Conversation
This branch has not been deployed
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.
问题定位
首次拒绝扫描时配置保存失败,旧实现可能推进引导却保留自动扫描开关,重启后仍扫描。快速开关及撤销期间自动接入还存在迟到操作;扫描检查点先于 reload 观察到拒绝时,会把主动取消误记为失败。
修改内容
测试结果
Memory 1653 通过/1 跳过,backend 1002,frontend 2719;release/packaging/contracts 等工作区检查通过。
首次全量的桌面测试有 10 项超时;相同测试集以 --maxWorkers=1 重跑全部通过:1305 通过/126 跳过。未更改测试阈值。
lint、typecheck、diff 检查通过。新增确定性回归验证权限检查点先于 reload 时最终 cancelled,后续 reconcile 保持终态。
之前隔离 GUI 已验证:保存失败留页、重启不扫描、恢复写入重试成功、快速开关最终关闭;Cursor 文件安装器隔离实验覆盖撤销等待和卸载后新执行器无再安装,未运行真实 Cursor 客户端。
最终提交 8b0b40c 的 macOS arm64 unsigned 包构建通过。真实 GUI 使用 18,000 个合成文件:运行中一次返回成功,再选不允许成功;终态 cancelled/active=false,none 且三个自动开关关闭;63 秒后采集计数仍为 0,页面无扫描失败提示。本轮覆盖读取阶段,未重验导入阶段取消。
验收边界
合成数据与进程级隔离 profile,不使用真实用户历史或密钥。其他操作系统、断电、磁盘耗尽及一小时周期未覆盖;不声称复现原用户机器。自动接入竞态与延迟快速切换由可控回归覆盖,GUI 自然点击不等同于命中确定性竞态窗口。
请重点审核权限发布、取消任务等待和自动接入的失效检查。