Phase 2: 拆分 kernel.ts — 抽离 worker 生命周期管理 #86
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Issue
#82 架构优化:模块职责拆分建议
前置
Phase 1 (#TBD) 完成后进行
目标
kernel.ts(617 LOC)当前是 God Object,拆分 worker 生命周期管理为独立模块。
范围
worker-pool.ts(fork、shutdown、restart、health check)验收标准
pnpm build+pnpm test通过