fix(server): 统一衣服尺码推荐体重说明的规格键,避免 SYB/ERPGo 导入重复尺码 #360
Open
opened 2026-10-06 15:37:38 +08:00 by ila
·
3 comments
No Branch/Tag Specified
main
fix/377-rejected-purchase-outbox
fix/376-pre-address-spec-verification
fix/374-final-spec-confirmation
fix/373-navigation-diagnostics
fix/370-color-discovery
feat/367-last-batch-repurchase
fix/368-image-search-partial-link
integration/364-365-366-main
feat/364-purchase-failure-snapshot
integration/365-366-validation
fix/365-order-result-observation
fix/366-address-editor-ready
fix/359-auto-match-resume
feat/363-inner-code-page-size
fix/362-truncated-spec-card
fix/361-spec-probe-click
docs/agents-worktree-rules
fix/358-syb-size-weight
feat/357-syb-cancel-status
feat/356-purchase-order-filter
fix/355-syb-list-timeout
feat/353-syb-shop-multiselect
fix/354-syb-top-pagination
fix/352-syb-source-created
fix/348-reveal-swipe
feat/340-syb-excluded-products
fix/351-inner-code-apply-selection
fix/350-match-layout
fix/350-inner-code-matching
feat/349-batch-return-use
feat/347-batch-return-cancel
feat/345-yeeke-reship
fix/346-root-serves-spa
fix/344-inner-code-stall-match
fix/343-syb-writeback-session
feat/339-syb-page-size
feat/338-return-match
feat/337-yeeke-admin-ui
feat/336-yeeke-return-sync
fix/335-bottom-submit-node
fix/334-spec-probe-top-swipe
fix/333-purchaser-device-owner
fix/331-spec-panel-recognition
fix/330-syb-writeback-session
feat/327-syb-writeback-filter
feat/326-order-information
fix/325-order-result
feat/316-chrome-order-backfill
fix/307-backfill-entry
feat/305-syb-order-writeback
feat/306-order-paid-amount
release/283
fix/283-purchase-mapping-consistency
fix/230-horizontal-spec-selection
feat/263-spec-rematch
fix/262-purchase-handoff
fix/260-261-purchase-readiness
fix/259-partial-collection-link
feat/258-one-click-replace
fix/257-color-normalized-match
fix/256-collection-single-dimension
fix/255-current-page-reidentify
feat/253-one-click-link
fix/254-match-loading
fix/251-syb-spec-candidates
feat/250-continuous-collection
fix/249-local-purchase-diagnostics
fix/248-bottom-submit
fix/247-short-address-panel
fix/246-address-return-panel
fix/245-purchase-failure-diagnostics
fix/244-selected-card-duplicates
fix/243-spec-entry-recovery
feat/242-agent-order-backfill
feat/241-order-backfill-endpoint
fix/239-syb-partial-sync
fix/238-spec-panel-preswipe
feat/237-client-api-keys
feat/236-purchaser-syb-sync
fix/235-syb-pagination-overlap
release/234-integrated
fix/229-address-entry-dedup
fix/228-selection-proof-panel-transition
fix/227-address-panel-return
fix/226-reopen-pdd-on-manual-retry
fix/225-in-place-purchase-retry
fix/224-final-spec-revalidation
fix/223-probed-confirmed-mapping
chore/221-devharness-sync
feat/218-purchase-result-bubble
fix/217-agent-retry-current-spec
fix/216-syb-spec-role-order
feat/215-mandatory-live-spec-probe
feat/214-verified-purchase-actions
fix/212-syb-sync-shop-snapshot
feat/211-spec-entry-ready-wait
feat/210-order-result-payment-transition
feat/209-pdd-bottom-spec-entry
feat/200-ai-match-result-purchase-ready
feat/199-job-execution-logs
feat/198-syb-ai-parse
feat/195-scheduled-spec-auto-match
fix/197-ai-write-timeout
feat/190-syb-inline-correction
fix/193-address-entry-reveal
feat/194-one-click-spec-match
fix/192-order-result-scroll
No results found.
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OPC/goauto#360
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
基本信息
原始需求与核验基线
根因与代码证据
依赖与并行
子项目影响 / 做什么、不做什么
最小方案 v2:保留 Claude #59/#60 方向,补齐采购保护
1. 统一身份仅用于尺码
2. 按商品+规范尺码分组,先计划、后原子写入
3. 历史修复分阶段,避免扩大影响
4. 本轮只读统计和回归范围
设计与原型门禁
验收标准
补充验证样例 B(2026-10-06,用户授权纳入)
验证方式
风险、回退与文档影响
需求变化记录
只读影响统计与本地验证结果(2026-10-06)
统计口径
保护后预演
必须保留的实施限制
已执行回归与限制
代码基线e2a68b33caab3f4b4cf04733afe91c3a66d51504,所涉server路径与线上e76de6f无差异,server工作区无生产源码修改。
通过:go test ./app/goauto/sybspec ./app/goauto/shopeespec ./app/goauto/shopeeproduct。
通过:task的TestIncoming*(ERPGo规格导入现有行为)、purchase的塌缩/重复原文预检以及TestAdminQueriesAndBatchRetryDoNotResolveArchivedSpecs。
通过:sybimport的人工/AI确认默认重解析跳过、raw_json保留、force及手工目标重新导入保护等定向测试。
隔离候选程序通过:Go 4组测试(其中16个子用例),覆盖纯体重语法、真实款式/均码反例、基线采购冲突复现、只放宽尺码而不改颜色;Python 16项分组保护测试,覆盖新旧映射冲突、pending、失效/非法映射、人工保护、源SKU冲突/未知、幂等、当前明细与兄弟组同进退。
三项当前代码基线失败(本轮未改生产源码,未顺手修复):
隔离文件在本机临时目录 goauto-360-review-00001db1,只有代码与合成样例,不保存生产输入。候选模型通过不等于真实事务、并发、正式导入/采购完整集成回归通过;正式修复实施时必须重新验证。
本轮无代码提交/推送、无迁移、无部署。规则尚未落地,无长期事实变化,暂不更新Wiki或同步镜像;正式实施时按本单文档影响处理。
2026-10-06验证结论:已发现1组当前源规格冲突及1组空尺码来源,禁止无条件全局统一。受影响48条经保护模型预演允许44条、保留4条,确认映射退化0。正式业务代码仍未实施,旧测试失败及未验证项如上。
v2保护、只读统计与本地验证已集中回写正文
用户授权的定向尺码刷新(2026-10-07,执行前范围)
用户明确要求按 ERPGo 最新尺码更新原报告的两件蝦皮商品,再由用户手动匹配。本轮仅对样例 A、B 的线上商品档案尺码列表作一次性定向刷新,不实施本单全局规格键规则。
两件商品尺码定向刷新完成(2026-10-07,待用户手动匹配)
按用户本轮明确授权执行,仅更新原报告样例 A、B,不实施全局 #360 代码。
边界与后续
更新前只读统计有17/2条历史 SYB 明细目标尺码不在归一化后的最新列表中;这些引用按授权范围保持原样。手动匹配商品档案不能自动纠正这些历史目标键,后续同步也仍可能再追加旧别名。本次不是全局根因修复或整单可采购保证。
#360 正式代码仍待实施,本轮仅完成独立授权的数据刷新,等待用户手动匹配/验收。一次性数据操作不改变长期契约,跳过 Wiki 更新和镜像同步。