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.
改动类型
改动说明
修复更新通道切换时检查、下载与安装资格的任务归属:主进程在发起任务时捕获通道及代次,切换或批量重置配置后立即使旧结果失效,并保持下载独占及检查、下载互斥。
config:set、config:reset与config:replaceAll均同步有效通道。当前版界面事件同步更新:
invalidated立即清除旧版本信息和按钮;仅在下载请求被接受后进入下载态。被拒下载按忙碌、检查中、无可用更新给出本地化提示,不冲掉当前状态;检查、下载、安装失败明确标记来源以路由重试。有效安装包在安装失败后仍可从 About 重新打开重试弹窗。验证
pnpm test:web:16 文件 / 125 项;pnpm test:node:35/35;pnpm typecheck、变更文件 ESLint、Prettier --check、git diff --check通过。UserData/app-data,通过 CDP 操作真实设置与更新弹窗。stable→nightly 检测到1.2.0-nightly.900,界面展示版本、发布日期、97.2 MB 及“前往下载页”;nightly→stable 时旧弹窗与顶栏图标立即消失,stable 与 beta 检查均返回无更新。日志及临时配置与界面状态一致。历史实例还曾确认旧下载任务结果被忽略。验证边界
便携开发实例禁止应用内安装,本轮未下载更新包、未触发退出安装。下载中重置、旧下载占用拒绝、下载成功安装入口、安装失败后的重试仅由受控跨层测试覆盖;真实安装器启动、重试成功及 macOS/Linux 行为未实测。PR 不应描述为完整安装端到端通过。