fix: query 超时保护 + 进程清理,防止 PM2 重启后残留孤儿进程 - #24
Conversation
- executor: 接入 CLAUDE_TIMEOUT 配置,通过 abortController 强制终止超时 query - index: 启动时 killOrphanedClaudeProcesses 清理上次残留的 claude 子进程 - index: shutdown handler 加 3s 延迟等待子进程退出 + 重复信号去重 - 新增 ecosystem.config.cjs,PM2 kill_timeout 从默认 1600ms 提升到 10s Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @lishuceo's task in 1m 33s —— View job PR Review: Timeout Protection + Process Cleanup
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @lishuceo's task in 3m 11s —— View job PR Re-review: Timeout Protection + Process Cleanup
✅ Approved — All Previous Issues Fixed, No New Issues Found2 previous issues fixed:
Review of current state:
No new issues found. The PR is clean and ready to merge. |
* fix: query 超时保护 + 进程清理,防止 PM2 重启后残留孤儿进程 - executor: 接入 CLAUDE_TIMEOUT 配置,通过 abortController 强制终止超时 query - index: 启动时 killOrphanedClaudeProcesses 清理上次残留的 claude 子进程 - index: shutdown handler 加 3s 延迟等待子进程退出 + 重复信号去重 - 新增 ecosystem.config.cjs,PM2 kill_timeout 从默认 1600ms 提升到 10s Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: 仅清理孤儿进程 (PPID=1) + shutdown 时清理定时器 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Test plan
🤖 Generated with Claude Code