fix: 修复设置与插件关闭问题并精简悬停诊断 - #219
Merged
Merged
Conversation
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.
保留 telemetry 分支的用户修复和 Runtime 生命周期修复,并精简悬停探测诊断。主题重置不再修改冻结草稿,时间输入允许编辑中间态;角色加载失败提供完整默认主题;模型拒绝非首位 system 时,运行上下文和主动发言历史一起兼容回退。插件关闭期间允许在剩余退出期限内注销已声明依赖,RPC 保留实际异常类型,避免把真正的清理失败当作取消。
悬停探测只保留连续失败的首次原始异常,失败时固定每秒探测,成功后恢复 50 ms。删除指数退避、周期/停止摘要、恢复事件、累计次数和 Rust 遥测专用分支,净删 171 行。保留更新器类型化错误及异常链,以及重复错误摘要入队失败后丢失待发送状态的修复。
验证:前端相关测试 44 项通过;Python 160 项通过,1 项 Windows 专用测试在 macOS 跳过;Rust telemetry 30、update_settings 20、runtime_log 34 项通过;docs profile 和 Rust 格式检查通过。日志集成测试首次因新 worktree 缺少 runtime/bin/python 报 OS error 2,补齐已有 bundled Runtime 的链接后通过,未修改产品代码或测试断言。未做打包后的真实窗口人工验收。
原分支 CI 35008288469 首次运行全绿。当前 PR 需通过新的完整 CI 后合并。
另发现 main@cb804c58 的 Release run 34997366224(attempt 1)在 publish-service-metadata 失败,原始错误为
Draft import failed: SERVICE_FIELDS_INVALID。现有 main 工作流发送旧的 release metadata,console 分支已改为完整 publication 草稿导入;该发行链路问题尚未在真实 Release Action 验收,本 PR 不包含 console 或插件架构分支。