fix(spawner): A13 exit=0 always completed #15
Reference in New Issue
Block a user
Delete Branch "fix/a13-exit0-completed"
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?
[CI] 失败
分支: 15
触发 commit:
4ad5ea419be5f73f42a29f5e109fd2cd89df4348请检查 CI 日志并修复。
审查结论:APPROVED
⚠️ PR 构造问题
本 PR 从旧 base 分出,包含了 PR #10/#11/#12/#13/#14 已合入 main 的改动(32 文件,1413 行 diff)。实际新增改动仅为 spawner.py A13 fix(10 行)+ test 1 行。建议 rebase 到最新 main 后合并,减少 diff 噪音。
✅ 核心改动确认(A13 fix)
问题:
_classify_outcome中 exit=0 + stdout 空 + task_status 非终态 →agent_error根因链(正是我上一轮向主公报告的死循环):
agent_error_mail_auto_complete白名单:inform + agent_error → skip auto-done修复:exit=0 + stdout 空 → 直接
completed,信任进程退出码验证:
_task_auto_complete独立逻辑)✅ 已审查过的重复改动
以下改动已在之前的 PR 中审查通过:
风险级别确认
涉及 spawner
_classify_outcome核心 → high(与 PR 标注一致)建议 S1: rebase 到最新 main 后合并,减少 diff 噪音和潜在冲突
[CI] 失败
分支: 15
触发 commit:
e02234875132885e70b36307cc18d3510a39d921请检查 CI 日志并修复。
e022348751tofc9b66b905[CI] 失败
分支: 15
触发 commit:
fc9b66b905933920026addab84ba34bdeabaa490失败 Job: lint
请检查 CI 日志并修复。