fix(stability): cancel-install 增加 SIGTERM→SIGKILL 超时降级防止僵尸进程

- install-manager.ts: cancel-install 仅 kill()(SIGTERM),子进程忽略时成僵尸;新增 forceKill 封装先 SIGTERM 后 5s 超时降级 SIGKILL
- PR 审查其余 6 项经代码实证均为误报/可维护性建议,未改动:JSON.parse 已有 try-catch、pkgname 已 PKGNAME_PATTERN 校验防穿越、shell-caller 已双引号+白名单、watch 不修改 apps.length 无循环、baseApps 量级无需 shallowRef、install-complete 已 off 清理
This commit is contained in:
xiyidaiwa
2026-08-13 22:49:36 +08:00
parent cdd94c650d
commit e67f4752a4
2 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
spark-store (5.2.1.6-test) UNRELEASED; urgency=medium
spark-store (5.2.1.7-test) UNRELEASED; urgency=medium
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>