Repository navigation
[A06][WIP] 修复商店对账、状态恢复与交付一致性 - #876
Merged
LIghtJUNction merged 5 commits intoOct 12, 2026
Merged
Conversation
Recheck immutable buyer/seller/actor/price/quantity and original receipts before settlement, refunds and delivery. Recover pending operations by read-only Core receipts using composite pagination, without re-executing funds or capture. Bind team terms consent to the verified actor, reject invalid stock releases, and accept canonical Go UUID v4 variant identifiers in the Core commerce port. Add synthetic Go recovery/state regression cases and Rust UUID fixtures. Full Core, PostgreSQL and OS restart integration remain unverified.
13 tasks
…elivery Reject mismatched record IDs and operation keys before execute/query. Recheck fixed delivery evidence when applying capture or reconciliation receipts. Preserve the concurrent phase-two recovery and Core UUID changes. Add three regression tests with five subcases; they fail before the fix. Expanded selected-source Go 1.23.2 race run passes 30 test functions and 56 subtests. Full pinned-toolchain, PostgreSQL and Core integration remain unverified.
Member
Author
A06 第三轮:已追加
|
This was referenced Oct 12, 2026
LIghtJUNction
added a commit
that referenced
this pull request
Oct 12, 2026
Ports scoped #876 work from 5d626a3, 1db0a74, 255ef54, 9e586ac and a6d81de, authored by LIghtJUNction. Adds guarded worker errors and actual Go command-byte fixture checks. Go race, isolated PG and caller checks passed. Core identifier tests passed on existing Rust 1.98; pinned 1.99 unavailable. Real Commerce ledger joint acceptance remains unverified.
LIghtJUNction
merged commit Oct 12, 2026
223b566
into
wip/rust-core-go-extensions
0 of 2 checks passed
Member
Author
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 的候选实现和已有验证范围保持原样;不因主线交接自动合并或标记验收完成。
A06 分阶段修复(仍为 Draft)
目标分支:
wip/rust-core-go-extensions。此 PR 修复商店对账、资金状态恢复和固定内容交付的局部问题,不代表 A06 的商店、客服、运营及完整资金闭环已经完成或可发布。不访问生产资金、不修改部署。第一阶段
legacy_orders.go分离pay_order与reconcile_order:查询不能触发首次扣款或新交付。第二阶段(已推送)
提交
9e586acca8fec3009233577256b0eca0fff854d1,相对第一阶段增加/修改 13 个文件:variant_id除原有 64 位摘要外允许 Go 已生成的规范小写 UUID v4;不放宽 shop/order/operation-key 校验;附 Go 序列化夹具与 5 个 Rust 测试。实际验证及缺口
source-tests/环境使用 Go 1.23.2:go test -race -count=1 -timeout 45s -run '^TestA06' .,18 个新增测试函数、22 个子测试通过。资金使用合成回执和内存仓库;不等于完整 Go 包测试。commerce.rs通过上下文应用验证。提交后核实 PR 新 HEAD,增量恰好 13 个预期文件。gofmt检查无差异。A06 仍需完成
Core 冻结报价与用户确认、商店退款/Extore/外部交付、客服持久历史与跨参与者授权、营销推广及其他 main 业务、旧来源数据映射,和 A03/A01/A02 资金/权限合同的最终对接。宿主挂载、资源租约、真实 PostgreSQL+Go→Rust 联合/重启验收由 S11 串行集成。保持 Draft,不合并或部署,直至上述检查通过。
关联:A06 任务 与 微服务主 PR #675。