Hold then expire then buy
- 功能模块
- Inventory hold
- 计划场景
- S-01 expiry visible
- 生成时间
- 2026-09-21 10:00:00
- 来源文件
HOLD-W01.md
前置条件
Execution-environment description
- environment ID: TBD
- path:
testdesign/test_design.md
Data-dependency description
- SKU with 3 units; create one hold of 1 unit so the storefront cache is warm
步骤与预期
| # | 操作步骤 | 预期结果 |
|---|---|---|
| 1 | Create hold | Hold active; availability shows 2 |
| 2 | Wait until hold window ends, then run expiry sweep | Reserved counter drops; cache must invalidate |
| 3 | Open storefront availability for SKU A | Availability is 3, not the held 2 |
溯源
- PRD §6 expiry must be visible immediately
歧义说明
Hold window length stays TBD until product names minutes.