Repository navigation
feat: 供应商余额联动、多邮箱告警与 OAuth 用途分类 - #862
Merged
Merged
Conversation
…settings-20261115
…settings-20261115
…settings-20261115
…settings-20261115
…settings-20261115
…settings-20261115
…settings-20261115
…settings-20261115
Owner
Author
|
维护固定头 |
…-settings-20261115
ranxi2001
changed the base branch from
feat/mature-channel-community-ops
to
production
November 15, 2026 06:50
…62-merge-20261115
…r862-merge-20261115
…r862-merge-20261115
ranxi2001
marked this pull request as ready for review
November 15, 2026 08:33
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.
解决的问题与行为变化
同一供应商的多个 API Key 使用一份钱包余额和一个组告警事件;缺失、失败、过期或币种不匹配时保留未知状态,不回退到单 Key 额度。支持最多 10 个邮箱,按地址保存投递结果,重试跳过成功地址;OAuth 增加临时/长期用途标签和筛选,旧账号默认临时号。
关联记录与来源
依赖 #850 与 #859,均已合并或在最终合并前核实。当前 base 为 production;分支保留双方历史。
最终 head:
5f7142d92eb4d54164b1743dff908f6936acd941。本轮检查的是最终整合提交;历史失败与旧 head 的结果不作为当前通过证据。管理员新功能提示
三个稳定 ID:account-ops-multiple-email-recipients(收件邮箱)、account-ops-provider-wallet-balance(规则列表和渠道入口)、account-ops-oauth-lifecycle(用途选择)。同一功能的所有入口共用 ID,按当前浏览器/管理员 localStorage 隐藏;原有 NewFeatureBadge 参数化回归覆盖新提示、同步隐藏、刷新持久性及后续新提示,普通修复不更换 ID。
复现与验收
回归覆盖供应商快照、组身份与告警指纹、收件人去重/失败重试/发送前删除、非法邮箱与安全错误,以及 OAuth 元数据更新。CI 渲染真实组件并核对中英文、旧/新输入结构、供应商关联与弹窗可见边界,使用虚构数据;未真实发送邮件或供应商请求。
协议、调度或传输补充
沿用原 recipient 字符串和单邮箱投递身份;无新增迁移,供应商表来自 #850。供应商关联仅适用 API Key;OAuth 标签只写 extra.oauth_lifecycle,不改凭据或调度。回滚到旧二进制前需恢复单邮箱并解除供应商余额关联。
实际验证
make test-unit、make test-integrationgit diff --check兼容性与运行影响
沿用原 recipient 字符串和单邮箱投递身份;无新增迁移,供应商表来自 #850。供应商关联仅适用 API Key;OAuth 标签只写 extra.oauth_lifecycle,不改凭据或调度。回滚到旧二进制前需恢复单邮箱并解除供应商余额关联。
文档与用户可见变化
供应商余额联动与多人通知。源码合并与发布、部署分别处理;UI 证据与边界见下方,未作整站或生产验收的部分仍保留明确限制。
Agent 使用声明
gpt-6.1-sol、推理强度ultra;fast 仅为请求,实际交付服务档未记录,未声称 delivered fast。fixture_static_review:Codex,全历史继承主代理、未设置模型/推理覆盖,按工具配置继承gpt-6.1-sol/ultra;仅静态核对 fixture 依赖链与断言保留,未写入文件、未执行动态验证,不提供独立业务验收。本轮维护:Codex,环境标识 GPT-6,完整模型 ID 与推理强度未暴露、未知;负责静态复审、修复、CI、证据核对及合并。子 Agent 调用均返回 502,未产出审查结果,不计为独立验证。
提交前自查
当前组件截图与验证边界
来源
5f7142d92eb4d54164b1743dff908f6936acd941,10 张中英文 PNG 已逐张核对。node .github/scripts/account-ops-team-screenshots.mjs在 CI 中通过,实际组件使用项目 CSS,弹窗动画结束、面板边界与页面脚本错误均有检查。前端测试、构建及截图 job / 原始产物。这是虚构数据的组件预览:顶部两个按钮是预览夹具,用于打开实际组件,不代表整页导航或生产接口验收。前图只还原
ce45c5a85f2a68544994ac146f3f809f31308e1a的 EmailDialog 与 RuleList 两份组件;CSS、语言包和其他依赖使用候选版本,因此前图中的多邮箱提示文案不作为旧版行为证据。前后结构、当前双语文案、供应商余额单次展示和 OAuth 用途控件可直接核对;保存、校验、投递及去重由对应回归检查。没有真实邮件或供应商请求。