Repository navigation
Conversation
…eadline-sse-quota-20261123
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.
解决的问题与行为变化
Draft,当前候选
d661208b2398395cd5861f94600adad9d56a56a2,新头独立源码审查SOURCECLEAR;远端行为/全部CI尚未完成,禁止ready/merge。 原282的GREEN失败和F1/F2审查记录保留为历史,不当作新头结果。error.type被误判502;上一F1修复又遗漏规范化显式code/最终pool重试veto的一致性。本候选共享完整、无歧义response.failed的规范化quota证据用于语义429、OAuth处置和最终重试veto,覆盖默认/显式429 pool,不改原始frame/rule payload。关联记录与来源
Refs #914、#715、#745;本PR是已合并#1007的后继,不宣称这些Issue完整恢复或生产验收。基线991cd30;历史修复282af88;F1冻结5c3daf;新修复6ce8519;普通合入production@919d111得到当前d661208。保留全部作者历史,无force/reset。无外部代码导入。
管理员新功能提示
提示ID/登记、NewFeatureBadge展示位置、关闭行为、沿用/重新公告均不适用:修复既有后端路径,无新UI入口或公告。A→B新ID可见、多入口同步隐藏、刷新/重登持久化及后续C不复活旧公告逐项不适用,同一原因。
复现与验收
隔离CI使用虚构账号、合成HTTP/SSE/WS上游、Redis槽位和临时PostgreSQL;不连接生产或付费模型。
协议、调度或传输改动补充
原模型/账号/continuation身份不变,无新增网络fallback或重试次数。新deadline guard仅针对已pin的重试,不改变普通首帧断开排空。backoff到期不得通过换号清除约束;非重试的普通failover维持既有策略。quota判断不改raw payload,不将HTTP200业务终态当成HTTP429未执行证明,不允许已输出重放。无新增用量/费用写路径。
实际验证
git diff --check origin/production...d661208b2398395cd5861f94600adad9d56a56a2、完整生产/fixture/oracle diff与普通merge范围核查.github/workflows/pr1012-retry-quota-oracle.yml,不以本地模拟结果冒充执行同oracle规则:在独立candidate派生RED工作树中只恢复指定历史生产blob,校验候选/unsafe SHA、tree、精确单/双路径diff和fixture/oracle blob;candidate本身不回滚。B1旧991必须D后两次生成;B3旧991每叶502;F1旧282每叶规范化语义502;F2旧5c 48叶均必须语义429且仅retry=true的指定断言失败;backoff旧282必须原owner→健康backup且第二生成时间≥D、期望1/实际2。编译/fixture错误、skip、panic、race、超时、无测试及任意非零不算RED。GREEN强制原24类型叶、24 F1叶、48 F2叶、24输出后拒重放叶、7WS阶段及全部命名控制RUN/PASS。
兼容性与运行影响
无新配置/API/schema/依赖;保持原重试预算与deadline来源、身份/权限/计费/日志脱敏。行为变化仅修已耗尽账号同账号重试及跨D新生成。无数据库迁移,回滚应用源码恢复旧风险,不涉及数据回滚。普通merge继承1011及七项性能优化,新头尚需动态集成验收。真实生产恢复、性能收益、跨账号原客户端续答不在本次已证范围。
文档与用户可见变化
纯后端修复,无UI/i18n/管理员新公告,截图不适用。不将源码修复或PR合并等同Release/部署;未发版、部署、重启或修改生产。
Agent 使用声明
提交前自查