Repository navigation
fix: 账号配置省略时保留并发更新后的探针最低扣费 - #978
Merged
Merged
Conversation
ranxi2001
marked this pull request as ready for review
November 21, 2026 05:22
12 tasks done
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.
解决的问题与行为变化
extra和platform;服务读到旧probe_penalty.enabled=true后,B 关闭、修改金额或删除该配置;A 保存物化的旧 Account 时,会把旧配置恢复。共享合并逻辑中的成本倍率和自动同步开关同样受影响。probe_penalty、cost_multiplier、cost_multiplier_auto_sync的省略语义和相应服务回归,不扩展账务计算或 UI。关联记录与来源
production/253dc0544dda51a33c1f1a8ca785140d82949f46;head 分支fix/probe-penalty-omitted-extra-20261121;冻结源码 SHAfa827b1ecdd96b998c27719090033b8595f09a9f。管理员新功能提示
NewFeatureBadge展示位置:不适用,无 UI 改动。复现与验收
backend/internal/repository/account_extra_intent_integration_test.go;两个服务入口 × 两种 Extra 省略形式 × 三种 B 更新共12种交错,另覆盖显式更新。fixture 在真实服务读取后提交 B,再让 A 保存,不手工删除 A 快照中的待测键。协议、调度或传输改动补充
{"name":"renamed"};非 nil 对照{"name":"renamed","extra":{"form_setting":"saved"}}。实际验证
git diff --checkgit diff --cached --checkgit diff --cached --stat、git diff、提交后git status --short --branchmake -C backend test-integration/make -C backend test-unit/ lint、build、gofmt 等fa827b1ecdd96b998c27719090033b8595f09a9f的 CITestAccountExtraIntentServiceReadBeforeConcurrentCommit/TestAccountExtraIntentExplicitServiceUpdates现有 CI integration-test 自动运行完整 integration suite,
backend/**路径已触发,无新增 workflow。UI 截图不适用,无 UI 改动。兼容性与运行影响
文档与用户可见变化
账号改名等无关编辑保留并发更新后的探针最低扣费配置。无 UI、翻译、截图或新功能提示变更;不涉及 Release 或部署。
Agent 使用声明
Codex
/root:唯一 writer,问题分析、源码、回归、静态复核、交接与正文。Codex
repo_review:只读实现/调用入口审查,无文件写入。Codex
regression_review:只读回归与 CI 入口审查,无文件写入。主 Codex writer:父级读取实际 rollout,模型
gpt-6.1-sol,推理强度ultra;fast 仅 requested,实际 tier 未证实。内部
repo_review/regression_review的完整模型 ID 和推理强度未向父级独立暴露,未知,不推测。Hermes 父级(diff/模板核对、发布)与独立只读源码复审员:模型
gpt-6.1-sol,推理强度未知(接口未提供)。独审精确fa827b1ecdd96b998c27719090033b8595f09a9f为 SOURCE CLEAR,父级亲核完整五文件diff;未执行动态测试。当前准确 head CI 已通过,已合并到 production(ee260eb01c83d30bfe1e95dc62b2fb4f23e1c4af);未发版/部署。Codex(本功能开发会话):复核最终五文件 diff、CI 和数据库回归日志,维护正文并执行合并;模型 GPT-6,完整变体及推理强度未知,当前会话未提供。未创建子 Agent。
提交前自查