docs(routing): record p2-t4 acceptance matrix verification
This commit is contained in:
@@ -319,6 +319,74 @@
|
||||
- route 健康页已经能把 `cooldown / failing / healthy / disabled` 四态聚合出来
|
||||
- 健康页与真实 `resolve` / `failover` 日志已经对齐
|
||||
- `P2-T4` 可以开始把这些验证步骤收敛成标准化验收矩阵与脚本
|
||||
- 2026-05-29 已完成 Phase 2 / `P2-T4 真实验收矩阵`
|
||||
- 提交:
|
||||
- `94913400 feat(routing): add route acceptance matrix scripts`
|
||||
- `5689286f fix(acceptance): align route model list parsing`
|
||||
- 新增标准化验收脚本:
|
||||
- `scripts/acceptance/route_acceptance_lib.sh`
|
||||
- `scripts/acceptance/verify_route_control_plane.sh`
|
||||
- `scripts/acceptance/verify_route_health_ui.sh`
|
||||
- `scripts/acceptance/verify_route_data_plane.sh`
|
||||
- `scripts/acceptance/verify_route_acceptance_matrix.sh`
|
||||
- 新增矩阵说明:
|
||||
- `docs/ROUTE_ACCEPTANCE_MATRIX.md`
|
||||
- 本地门禁已通过:
|
||||
- `gofmt -l .`
|
||||
- `go vet ./...`
|
||||
- `go test -cover ./internal/...`
|
||||
- `go test ./tests/integration/... -count=1`
|
||||
- `bash ./scripts/test/test_tksea_portal_assets.sh`
|
||||
- `bash ./scripts/test/test_real_host_scripts.sh`
|
||||
- remote43 已使用 fixed checkout:
|
||||
- `repo HEAD = 5689286f`
|
||||
- 本轮仅新增脚本和文档,无需重启 CRM
|
||||
- `http://127.0.0.1:18173/healthz` 持续返回 `ok`
|
||||
- remote43 已按标准命令完成整套矩阵真验:
|
||||
- `CRM_BASE=https://sub.tksea.top/portal-admin-api`
|
||||
- `ROUTE_HEALTH_PAGE_URL=https://sub.tksea.top/portal/admin/route-health.html`
|
||||
- `SHADOW_HOST_ID=proxy-real-host-1780026133`
|
||||
- `SHADOW_GROUP_ID=9`
|
||||
- `SUBSCRIPTION_USER_ID=36`
|
||||
- 产物目录:
|
||||
- `/tmp/phase2-routing-matrix/1780034317_route_matrix`
|
||||
- control plane summary:
|
||||
- `group_id=p2t4-cp-1780034317`
|
||||
- `route_id=primary-1780034317`
|
||||
- `public_model=gpt-5.4`
|
||||
- `shadow_model=gpt-5.4`
|
||||
- 已验证:
|
||||
- 创建 group
|
||||
- 更新 group
|
||||
- 创建 route
|
||||
- 更新 route
|
||||
- 创建 route model
|
||||
- 列出 route model
|
||||
- health UI / runtime summary:
|
||||
- `group_id=p2t4-health-1780034318`
|
||||
- `request_id=req-p2t4-health-1780034318`
|
||||
- `resolve_route_id=fallback-1780034318`
|
||||
- `resolve_fallback_used=true`
|
||||
- 状态矩阵已对齐:
|
||||
- `primary-1780034318=cooldown`
|
||||
- `fallback-1780034318=healthy`
|
||||
- `failing-1780034318=failing`
|
||||
- `fallback_recent_failover_count=1`
|
||||
- data plane summary:
|
||||
- `group_id=p2t4-dp-1780034319`
|
||||
- `route_id=primary-1780034319`
|
||||
- `request_id=req-p2t4-dp-1780034319`
|
||||
- `auth_mode=managed_subscription`
|
||||
- `forward_upstream_status=200`
|
||||
- `selected_shadow_host_id=proxy-real-host-1780026133`
|
||||
- `selected_shadow_group_id=9`
|
||||
- `selected_shadow_model=gpt-5.4`
|
||||
- `effective_gateway_key_source=managed_subscription`
|
||||
- `decision_log_count=2`
|
||||
- 当前结论:
|
||||
- Phase 2 的控制面、运行态、正式数据面、管理页都已被收敛进固定脚本矩阵
|
||||
- 后续任何 Phase 2 回归都可以直接在 `remote43` 上复用同一套脚本,而不再依赖临时串命令
|
||||
- `P2` 已具备可持续回归的最小产品闭环
|
||||
- 2026-05-28 已完成 Phase 1 / `P1-T1 SQLite schema foundation`
|
||||
- 提交:`7f75d8a6 feat(routing): add logical group schema foundation`
|
||||
- 新 migration:`internal/store/migrations/0010_logical_groups_and_routes.sql`
|
||||
|
||||
Reference in New Issue
Block a user