Repository navigation
Replies: 1 comment
|
Small correction to the conclusion "先手动安装 0.2.2-rc.1 即可绕开" for the other update failure mode: it does not cover the I extracted
Ordering matters here: in 0.2.2-rc.1's Full evidence and a timestamped Windows run of the manual-install workaround: #12361 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
摘要
0.2.1-rc.5(Windows x64)在应用内升级到 0.2.2-rc.1 时仍然提示:
现象与 #9963 / #10204 / #11032 / #11187 相同,本贴不重复描述现象,只补充两点新信息(已查重):
环境
观测
代码级证据(0.2.1-rc.5 vs 0.2.2-rc.1)
0.2.1-rc.5,dsh/node_modules/@deepseek-ai/dsh-desktop-host/lib/index.js 的 stop():
0.2.2-rc.1 的同一个函数:
另外,dsh/node_modules/@deepseek-ai/dsh/lib/profile-boot-*.js 的 createProcessShutdown 在 0.2.1-rc.5 与 0.2.2-rc.1 中一致:成功路径只是 process.exitCode = 0 + 清除 5 秒强制退出定时器,本身不调用 process.exit()。所以 ack(= teardown 完成)之后没有任何退出兜底。
据此,错误元组的唯一解释是:ack=true 说明 teardown 已完成,但进程没有退出;10 秒后桌面端 child.kill("SIGTERM")(Windows 上是 TerminateProcess,Node 子进程记账为 exit null, signal SIGTERM),而 stop(true) 的验收条件 !graceful || exitCode !== 0 || !shutdownCompleted 必然失败。不是“停机太慢”,也不是“任务没停”。
残留 handle 的触发面(本机实测)
建议
参考(同问题已有记录,供维护者合并)
#9963(根因主贴,8 条确认)· #10204 · #11032(master 修复未包含在发布包)· #11187(macOS)· #11274 · #8198 · #10901
本贴基于对 0.2.2-rc.1 安装包的静态分析(逐文件 diff)与本机实测,未修改安装目录、未运行安装器;为保护隐私未包含用户名/机器名等信息。
All reactions