Repository navigation
独立展示 OTA 进度、修复取消竞态并更新 0.6.2 构建 - #51
Merged
massif-01 merged 3 commits intoOct 13, 2026
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.
OTA 升级进度原先位于“手动升级”折叠框内,官方 OTA 时不便查看;取消升级后的信息刷新若晚于下一次升级返回,还会清掉新任务的轮询,使设备管理的升级停在中途。
将现有进度区移到“固件升级”标题下方的独立灰色卡片,保留全部元素 ID、状态提示和中止按钮,去掉为显示进度而自动展开手动升级的操作。取消成功后的定时器清理改为在异步刷新前完成,旧回包不再清理新任务的轮询。官方 OTA、URL、SD 卡、双包和仅固件升级继续使用原来的设备 API、写入顺序及重启确认逻辑,OTA 服务代码不变。
同步更新
build/六个刷写文件及清单。基础版本保持0.6.2,完整版本为0.6.2+fedbf9cc.10140010,从干净源码提交fedbf9cc3f8b86b8a57c1e8a2f536080dbad1561构建。此 PR 基于已合并 #50 的上游 main,只包含本次页面、取消竞态、对应测试和构建产物。验证:
浏览器验证使用模拟设备 API,这批新镜像尚未实机验收。按用户要求替换现有 v0.6.2 Release 附件,OTA 同步由用户手动触发。浏览器需要刷新后才能使用本批 WebUI 脚本。