thread-master/docs/product/haixun-backend/tasks/T218-smoke-p0-p1.md

65 lines
1.4 KiB
Markdown
Raw Normal View History

2026-07-10 12:54:45 +00:00
# T218 — smoke-p0-p1
> Status: `todo`
> Milestone: `M6`
> Kind: `test`
> Est. change: `~150 lines` (target 100200)
## Goal
完成後系統應P0/P1 煙測腳本(補充 integration
## Depends on
- T222
## Inputs
- 讀取 / 依賴:
- acceptance-matrix
- Spec`docs/product/haixun-backend/spec.md`§9A-06 AU-01 ST-01 TH-05 OB-12 SC-05 IV-01 IN-08
- 對照:`docs/product/haixun-backend/fe-spec-alignment.md`**UI MUST**
- 後端根:**`apps/backend`**
- **Remove本 task 禁止實作):** 舊靈感 list/viral/bookmark/spark/searchTrendsgenerateFromFormulaScoutTopic CRUDlive 以 simulatecreateMock 當完成Insights 真管線P2
## Outputs
### 程式變更(預期路徑)
| 路徑 | 動作 | 說明 |
|------|------|------|
| `scripts/smoke-p0.sh` | add | login me settings usage accounts |
| `scripts/smoke-p1.sh` | add | compose outbox scout invite upload |
### 行為變更
- 一鍵煙測可讀失敗
### API / 契約(若有)
-
### 測試交付(強制)
- 印通過 ID
## Out of scope
- 替代 integration
## Acceptance
- [ ] SpecUI MUST 覆蓋:`A-06 AU-01 ST-01 TH-05 OB-12 SC-05 IV-01 IN-08`
- [ ] 每個相關 §9 ID 有可 grep 的 case 名(`TestXX_01_…` 或完整覆蓋在里程碑 test task
- [ ] 未實作不回 102000+空 data
- [ ] 指令:
```bash
bash scripts/smoke-p0.sh
bash scripts/smoke-p1.sh
```
## Notes