Repository navigation
fix: 结果创建失败时保留待处理的质量检测信号 - #932
Merged
Merged
Conversation
ranxi2001
marked this pull request as ready for review
November 18, 2026 17:14
This was referenced Nov 18, 2026
Merged
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.
解决的问题与行为变化
关联记录与来源
e687827fcb5c2bbb347dfb1d15f116c0ab0580c9,候选d18511531f85b32eedbb3a14e3ed655b517b8023;普通提交,未引入其他仓库代码,无历史重写。管理员新功能提示
复现与验收
backend/internal/repository/quality_save_result_ack_integration_test.go两个真实服务测试,共23子例。未验证租约到期后的 durable recovery;该设计仍 BLOCKED,不能通过重复付费检测补齐保存。协议、调度或传输改动补充
实际验证
git diff e687827fc..HEAD --checkgo test -race -tags=integration ./internal/repository -run '^(TestIssue817SaveResultFailureDoesNotAcknowledge|TestIssue817ConnectivitySaveFailureDoesNotCompleteOrRecover)$' -count=1 -v -timeout=10m独立审查结果(固定
d18511531f85b32eedbb3a14e3ed655b517b8023)BLOCKED,不可合并;不是等待review。
account_test_service.go:1591 → observeGrokTestResponse:1472/1475 → ClearRateLimitIfObserved可在结果Create之前清除限流;随后Create失败,runner提前返回不能撤销该恢复。因此本PR仅阻止runner的tryRecoverAccount,不能宣称端到端“未保存不恢复”。新synthetic Anthropic夹具不覆盖该反例,后续需要真实离线transport→观察器→持久化故障回归。兼容性与运行影响
文档与用户可见变化
无UI/文案/提示变化。内部语义为“未完整保存不能完成/ACK,已保存但历史清理失败仍可完成”。交接已列明有界lease与queue TTL,不能将pending保留理解为无限或持久化专用重试保证。
Agent 使用声明
/root:唯一源码writer,来源读取、实现、回归编写、静态检查、普通提交与交接/建议正文。父级实际 rollout turn_context 核实gpt-6.1-sol/ultra;fast仅requested,实际交付tier未知。/root/review_contract:只读源码合同/ACK/租约/重放边界分析,无写入、无动态执行;完整模型ID与推理强度未知,工具未暴露。其分析不代替父级独立review。gpt-6.1-sol/ 推理强度未知(环境未公开),源码/边界检查、Draft发布与远端核对。独立只读 Codex reviewer:父级 rollout turn_context 核实gpt-6.1-sol/ultra,固定候选独审已完成,结论 BLOCKED(详见下方);未使用子Agent,fast仅requested。writer未推送、发PR或代为approve。提交前自查