绑定 ESS 双轨治理,拆分超大 H5 页与 Go 引擎,抽出 membership 服务, 并将 star/fortune 重命名为 outlook(JSON 双写兼容);同时修复 /psy API 代理与首页 + 菜单层级。 Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
967 B
Markdown
32 lines
967 B
Markdown
# Test Report — ECR-001 Phase A–E (+ ECR-002)
|
||
|
||
## ECR
|
||
ECR-001 Phase A/C/D/E · ECR-002
|
||
|
||
## Change Level
|
||
L2 / L3(结构 · 无行为变更意图)
|
||
|
||
## Cases
|
||
- [x] Phase A:LEGACY / ADR-0007 / go-services 对齐
|
||
- [x] Phase B:已完成(先前)
|
||
- [x] Phase C:`service/membership` 抽出;路由不变;handler 接线
|
||
- [x] Phase D:relation/star engine 同包拆分
|
||
- [x] Phase E / ECR-002:`star/fortune` → `star/outlook`;JSON 双写
|
||
- [x] `go test` relation/star/outlook + build server
|
||
- [x] integration(`go test ./internal/integration/` PASS)
|
||
|
||
## Command
|
||
```bash
|
||
cd apps/api && go test ./internal/relation/... ./internal/star/... ./internal/service/... -count=1
|
||
go build ./cmd/server
|
||
go test ./internal/integration/ -count=1
|
||
```
|
||
|
||
## Residual Risk
|
||
- JSON 旧键 `fortune` 仍在;彻底删除需客户端迁移 ECR
|
||
- Period 结构体字段 `Lucky` json:`lucky` 仍保留兼容
|
||
|
||
## Gate
|
||
- [x] Phase A–E 代码落地
|
||
- [ ] Reviewer 签核
|