Skip to content

test: avoid redundant cleanup after verified process exit - #44

Merged
linnnn89 merged 1 commit into
mainfrom
codex/owner-death-cleanup-20260911
Sep 11, 2026
Merged

linnnn89 merged 1 commit into
mainfrom
codex/owner-death-cleanup-20260911

Conversation

@linnnn89

@linnnn89 linnnn89 commented Sep 11, 2026

Copy link
Copy Markdown
Owner

合并后 CI 34593556243 的 owner-death 报告已确认 9 个受管进程全部退出,survivors=[],但 finally 仍逐个启动 PowerShell 做兜底终止,其中一次触发 8 秒 spawnSync ETIMEDOUT,导致成功场景在收尾时报错。

仅在验收已成功确认全部退出时省去重复终止。失败路径仍执行原有 PID/创建时间核对和清理,清理错误继续使验收失败;生产代码、超时和依赖不变。

验证:真实 owner-death 正常路径通过(run-HzZLg9);使用临时脚本副本故意保留 Gateway,确认残留仍使验收失败、兜底清理实际执行,清理后所有已记录身份的进程均退出(run-LTW9Qh)。修改只涉及验收脚本的条件及现有工作记录。未宣称已确定 PowerShell 调用超时的底层原因。

最终提交 5e22285 的 Node 22/24 和 CodeQL 全部通过;已合并为 4720bf8。合并后的同一主分支提交也已通过 Node 22/24 CICodeQL。本地 main 与远端一致,工作区干净。

@linnnn89
linnnn89 merged commit 4720bf8 into main Sep 11, 2026
6 checks passed
@linnnn89
linnnn89 deleted the codex/owner-death-cleanup-20260911 branch September 12, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant