fix(update): synchronize auto-update installation with session creation - #377
Open
MakerFlyFly wants to merge 1 commit into
Open
MakerFlyFly wants to merge 1 commit into
MakerFlyFly wants to merge 1 commit into
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.
自动更新在下载前读取空闲会话快照,下载期间创建的会话无法阻止后续安装。本次将下载校验与安装分开,在下载完成后将“会话为空并取得安装资格”与会话 ID 预留同步;有会话时延期,安装已开始时新建请求收到明确的重试提示。
修改
protocol_error和重试提示,不新增 RPC 方法或错误码。skipped / active_sessions,保持在下载阶段,不触发失败退避;同步更新doctor说明。验证
stage=install;修复后通过。download / skipped / active_sessions,可执行文件字节未变,原会话仍可执行tool.tab_list。git diff --check通过。Fixes #376