split daemon request and runtime setup

This commit is contained in:
2026-08-22 16:07:12 +08:00
parent b163b48ae3
commit a37ee9d09d
3 changed files with 141 additions and 99 deletions
+7
View File
@@ -186,3 +186,10 @@
- 将容器镜像解析的平台校验、tag 校验、仓库 digest 收集拆分,保留摘要唯一性要求。
验证:`GOCACHE=/tmp/yms-go-cache go test ./...` 通过。
### 本轮继续拆分
- daemon server 将请求读取、进度回调、更新/重启分派、诊断分派拆开,保留协议错误文本与响应行为。
- `runServe` 将 native/container 运行时构建与资源关闭拆出,避免入口函数承担全部分支。
验证:`GOCACHE=/tmp/yms-go-cache go test ./...``git diff --check` 通过。