Repository navigation
refactor(billing): 将旧支付配置隔离到整数额度报价边界 - #776
Closed
LIghtJUNction wants to merge 1 commit into
Closed
LIghtJUNction wants to merge 1 commit into
LIghtJUNction wants to merge 1 commit into
Conversation
… calculation Keep legacy provider configuration at one adapter boundary. Quote and exact minor-unit rounding share an immutable rational rate over wallet credits. Preserve configured custom rates, promotions and the 96-place quote API. Standalone production calculator race, fuzz and vet checks passed. Full Go, controller, isolated database and callback regressions are still required. No workflow, production, balance migration or release changes.
This was referenced Oct 10, 2026
LIghtJUNction
marked this pull request as ready for review
October 11, 2026 12:24
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Member
Author
This was referenced Oct 11, 2026
Closed
LIghtJUNction
changed the base branch from
main
to
wip/rust-core-go-extensions
October 12, 2026 11:03
LIghtJUNction
marked this pull request as draft
October 12, 2026 11:03
13 tasks
Member
Author
|
根据开发主线交接策略,旧单体 main / traditional 已冻结,相关财务/计费/测试/工具逻辑已由 wip/rust-core-go-extensions 对应微服务组件承接。关闭旧单体历史 PR,避免堆积。 |
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.
开发主线交接(2026-10-12)
开发默认主线现为
wip/rust-core-go-extensions;旧单体main与traditional冻结于3948a0a1ee1cefdd016a7aa45a11851545bb4b85。分支交接不是发布、部署或验收通过。原问题、源码基线、测试与未完成项保留;旧单体路径仅作历史证据,后续先在微服务源码重新确认并按职责移植,不回灌旧数据库/权限/资金实现。主线/S11 跟踪:#895。Extore 商品同步:#894,未验收,禁止部署,尤其禁止合并/推送 Extore
main。本 PR 原目标为旧单体
main,现转向微服务主线。只修改审查目标,尚未完成移植或验收,不可直接合并;须解决跨架构差异/冲突并完成本地验证,保留其他任务的改动。LMM API Pull Request
变更说明 / Summary
资金单位技术债清理的第一项,不是整站资金验收完成声明。
基线:
76ba342ce2af858d4c582f943f1b436edd00f790。提交:
3067ec13e0ea9808c0e4e8127bc2e284a525404d。与上游的关系 / Upstream relationship
关联 Issue / Related issue
关联 #754 的单位清理审查,不关闭 #754,也不声称本 PR 解决 #703、#748 或 #753。
变更类型 / Type of change
验证 / Verification
实际执行环境:Go 1.23.2,隔离目录,直接编译下列两个生产/测试文件;没有第三方替代实现或业务桩。它不是仓库要求的 Go 1.25.1 全量构建。
在 apps/api-go/pkg/paymentpricing 的对应源码目录执行:
以上三项退出码均为 0。覆盖金额边界、微小余数、不可变性、并发读取、溢出和无效输入。Fuzz 是算术检查,不是支付、数据库或业务流程覆盖率。
合成基础报价对账(不含优惠,不是实际到账)
历史比例样本不表示当前生产启动允许该配置。
未完成的合并门槛
本地不能解析 GitHub,无法取得完整仓库和依赖。仓库已明确要求所有工作流只允许手动触发;本 PR 没有绕过该规则来开启自动 CI。保持 Draft,不合并、不部署、不发版。
截图或日志 / Screenshots or logs
无 UI 变更。测试文件已经在提交中;本地日志与源码摘要另行记录。已核对远端 credit_rate.go 与 credit_rate_test.go 的 blob SHA,和本地实际测试文件一致。
提交检查 / Checklist