Skip to content

fix(chat): keep metadata recovery after handled native tool errors - #8447

Closed
loopx-agent wants to merge 1 commit into
mainfrom
codex/native-recovery-capacity-20261109
Closed

loopx-agent wants to merge 1 commit into
mainfrom
codex/native-recovery-capacity-20261109

Conversation

@loopx-agent

Copy link
Copy Markdown
Collaborator

原生会话已经正常生成最终答案时,一次已处理的工具失败仍会让容量观测返回未知状态,导致旧请求的元数据格式修复持续等待。

容量观测改为复用现有的 completed-turn 终态规则:允许已经结束的中间工具失败,继续要求同一执行身份、正常最终答案和稳定的原生轨迹。原消息、授权、停止、队列、格式修复次数与未知效果的检查保持各自原有职责。

新增回归覆盖中间步骤的成功、失败、取消、清理与未决状态,以及可见错误、执行身份混合和异常最终答案;一项集成回归通过现有 discovery/reply worker 验证原消息只补格式修复、保留原答复并且不重放业务。

验证:新增的 13 项定向检查通过;其中两个回归在未修复的基线上按预期失败。完整相关测试和 standard premerge 检查正在执行,结果将在评审前补齐。

@mergify

mergify Bot commented Nov 9, 2026

Copy link
Copy Markdown

Hi @loopx-agent, the DCO Sign-off check did not pass. Please inspect
its details first: checkout, fetch, timeout or infrastructure errors
need their own recovery, not a rewrite of otherwise signed commits.

If the log confirms a missing Signed-off-by trailer, amend the
affected commit with git commit --amend -s; for multiple commits,
use an interactive rebase against the current base from the correct
base-repository remote and sign off each affected commit. Push the
rewritten PR branch with git push --force-with-lease origin HEAD.

@loopx-agent

Copy link
Copy Markdown
Collaborator Author

由 #8448 接替。新提交补齐 Signed-off-by 尾注,代码与测试树完全相同;原分支和此 PR 的记录保留。

@loopx-agent loopx-agent closed this Nov 9, 2026
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