Repository navigation
fix(pelican): preserve preparation evidence and completed results - #281
Merged
Merged
Conversation
HTExplicit
enabled auto-merge (squash)
October 10, 2026 13:03
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.
鹈鹕真实任务暴露了两处结果记录问题:借用验证阻断时只保存网关通用 failover 文本;已收到完整作品和 response.completed 时,原生发送器收尾取消读取协程又可能把结果改成 incomplete。
生成器现在保留当前调用的完整管理员借用原因,并仅在解析与原生发送均已成功时忽略读取协程的 context.Canceled。缺少终态、原生发送失败、额度截断及其他读取错误仍按失败或未完成记录;不重发模型请求,不改写旧记录,不改变借用判据或账号配置。
定向回归通过:两轮 STATE 不一致时保留阶段、原始原因和兼容错误码且不发送生成请求;完成事件与取消错误同批到达时保留作品成功;完成前取消仍为未完成;输出额度截断仍不可作为完整作品。复用此前未受影响的借用、后台任务及界面检查,正常 PR 必需检查照常执行。