Repository navigation
修复 OTA 双包升级竞争,并更新 0.6.2 构建包 - #50
Merged
massif-01 merged 2 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.
设备 WebUI 使用浏览器代理升级固件和 WebUI 时,定时进度查询也会推进设备直接下载流程,可能重复启动 WebUI 升级并提前重启,最终出现“升级失败”但固件已经更新的误报。
本次将两条升级流程的控制权分开,保留固件已写入的失败/未确认结果,并在重启后核对目标分区及完整固件版本。同步修复 SD 卡 WebUI 连续重试丢失来源、路径检查后离开页面留下升级锁、启动回包在页面离开后误结束设备任务三个回归。URL、SD 卡、仅固件升级继续使用原有设备 API,OTA 服务代码不变。
更新
build/刷写包,基础版本保持0.6.2,完整构建版本为0.6.2+028e6330.10132311。镜像由干净源码提交028e63309255045957e86fcb73cc328cf5d95997构建,firmware-manifest.json记录源输入哈希和全部六个刷写文件的大小/SHA-256。这组产物用于替换现有 v0.6.2 Release 附件;OTA 同步由用户手动触发。验证:
实机 OTA 尚未执行。旧 WebUI 发起安装本版本时仍使用旧脚本,首次过渡与刷新后的后续 OTA 需要分别验收。原有取消后旧刷新回包可能停止后续任务轮询的竞态未纳入本次修复。