task --background: 分离的工作进程没有超时或停滞监视器
作者: TahseenChowdhury创建于 2026年7月17日更新于 2026年9月15日
`codex-companion.mjs` `task --background` 启动一个分离的工作程序(`spawnDetachedTaskWorker`,`stdio: "ignore"`,`unref()`),其运行路径(`runTrackedJob` → `executeTaskRun` → `runAppServerTurn` → `await state.completion`)没有墙时钟超时、卡顿检测或任何类型的看门狗。运行时的唯一定时器是 250 毫秒的完成推理延迟、传输导入超时和 `status --wait` 轮询上限 - 都没有对作业本身进行限制。
内容来源: openai/codex-plugin-cc