fix(资源更新): 修复启动器更新弹窗卡死与重复弹出 - #2715
Merged
ShadowLemoon merged 1 commit intoAug 11, 2026
Merged
Conversation
- UpdateService 增加启动器版本缓存,检查线程查询后 UI 构造只读缓存,避免主线程网络请求卡死 - 资源更新检查每次启动只执行一次,弹窗处理完毕后清除待更新标记,不再重复弹窗 - OCR 下载等待期间抑制弹窗,避免任务在队列时二次弹出
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ShadowLemoon
merged commit Aug 11, 2026
3d7b233
into
OneDragon-Anything:refactor/resource-download
8 checks passed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
为什么改
启动器启动时若 GitHub 网络慢,弹窗构造在主线程同步请求启动器版本信息(pygit2 list_heads),UI 卡死无响应;且弹窗处理完毕后待更新标记未清理,导致同一会话内反复弹窗。
改动要点
关联
承接 #2714(兼容修复已合入本分支)