Repository navigation
fix(chat): recover untouched requests after transport loss - #8023
Closed
loopx-agent wants to merge 1 commit into
Closed
loopx-agent wants to merge 1 commit into
loopx-agent wants to merge 1 commit into
Conversation
|
Hi @loopx-agent, the DCO If the log confirms a missing |
Collaborator
Author
|
由 #8024 接续:源码树保持完全一致,补齐本地确认缺失的 DCO Signed-off-by。使用新分支正常推送,原提交与讨论保留。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
断线后的原请求可能一直得不到答复:Core 已将 Turn 记为
host_gate失败并将 Session 标为stale/transport_disconnected,原生端则将关闭中的 Turn 保存为interrupted。恢复发现只接受 ready Session 和 failed 原生 Turn,因而跳过了尚未执行的请求。本补丁复用原恢复 owner:对最新、稳定、终止的原生 Turn 读取完整分页,严格要求只有一条原始用户输入,并再次比对输入;Core 只在原失败属于传输故障、Session 没有活跃 Turn、来源和授权未变、没有停止或修正时,按已有退避与最多三次的确定性身份接续。原失败与失败通知保留,工具、答案、思考、未知项、后续 Turn 或状态变化均不能生成这项未执行证明。
没有增加队列、消费者、模型调用入口、权限或手工重放。原 Bot 继续负责执行与原受众回传。生产积压和实际送达仍需安装后独立验收。
验证:新增真实 stdio → Core → 原队列 → 原 provider 回传回归及原生完整性负例,已核对本机原生只读接口。此提交的完整回归和源码 premerge 正在执行,合并前补齐准确结果并完成 exact-head review。