split container update preparation

This commit is contained in:
2026-08-22 16:09:16 +08:00
parent afa371b250
commit eac689cf4b
2 changed files with 72 additions and 40 deletions
+1
View File
@@ -192,5 +192,6 @@
- daemon server 将请求读取、进度回调、更新/重启分派、诊断分派拆开,保留协议错误文本与响应行为。
- `runServe` 将 native/container 运行时构建与资源关闭拆出,避免入口函数承担全部分支。
- 容器槽位现场核对拆为容器检查、已提交部署校验和活动槽位选择,减少单函数分支嵌套。
- 容器镜像更新拆为输入校验、事务恢复、镜像拉取、槽位准备和事务创建阶段,行为与幂等键保持不变。
验证:`GOCACHE=/tmp/yms-go-cache go test ./...``git diff --check` 通过。