Repository navigation
feat: 复用官方软件更新状态显示并保留内容更新入口 - #265
Merged
Merged
Conversation
将现有软件更新快照映射为官方 DesktopUpdatePresentation,新增按文档隔离的只读状态观察、工作台状态复用和 Windows check/download/install 错误归属;更新面板与事务保持原样。
Electron carrier 下由官方侧栏指示表达软件更新,footer 仅保留配置/Skills 内容提醒,Wails/Web 仍保留旧提醒;补充浏览器回归、官方入口到现有面板的真实 preload/IPC 贯通 probe 和 native startup 夹具。
按最终源码使用 audit-eduwork-distribution 的文件集重新生成 source-receipt.json,并通过 --verify-receipt 校验。
JJasonSun
marked this pull request as ready for review
November 4, 2026 10:47
This was referenced Nov 5, 2026
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.
关联 #226。
Summary
本 PR 将 Electron 侧栏的软件更新提示接回锁定的 DSH 官方状态组件,并保留 EduWork 现有的更新面板和操作流程。
ready表示更新已准备好、等待安装,不表示已经完成升级。实现只增加读取和展示适配:更新观察器只读后端状态,转换为 DSH 的官方状态契约,并按 renderer 文档管理订阅生命周期。未知错误不伪造检查、下载或安装阶段;Windows 只补充能确定来源的
failedOperation元数据。更新源、渠道、自动下载策略和安装事务没有改动。Evidence
a363148fbb9e9962939207c8be584c82bf690b33,fileSetSHA256=b813000e0a7cb4e141156128ac068395088c16b35ca53598da4e4707555f3199,审计 2090 个文件,0 errors、0 warnings。updatecontrol测试通过。0.4.10-dev.20261104.2已按当前 head 构建并通过源码快照、桌面启动和归档校验:fcac6ab8453f4221a6d8c598308fe6c2520ca5bc203ef0f22091682801de2ed1Merge Danger
Door: two-way
更新提示和观察器可以整体回滚;更新后端的下载、校验、安装和重启流程没有改变。
Blast Radius: Electron 更新提示
未执行真正的安装/重启更新,也未做 macOS 实机界面验收。不可分类错误仍按降级路径处理,macOS addon 的细分错误元数据留待后续单独处理。