Files
Chan/docs/TEST_REPORT/IDEA-002.md
T
jackyu66gitandCursor df27b4dde8 refactor: ECR-002 拆分 runtime 包并加深 analyze 契约(已审)
将 web/services/runtime.py 拆为 runtime/ 子模块并保持门面兼容;补齐 ESS 文档、门面/契约/TF_DF 测试与 CODE_REVIEW Approve。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 18:15:23 +08:00

29 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TEST_REPORT — IDEA-002L1
**Date:** 2026-08-06
**Commit:** `9f1e736`
**Level:** L1
## Scope
主站内存泄漏修复、首屏重复 analyze、ChanMACD 复用、chan_tv 体验修补。
## Evidence
| Check | Result | Notes |
|-------|--------|-------|
| `node --check` chart_tv / chart_view / chart_sync / ui | PASS | 提交前语法检查 |
| Golden / analyze 契约(未因本改动重跑全量) | N/A → 建议 CI 下次 PR 再跑 | 本 L1 主要前端;引擎仅 ChanMACD 复用路径 |
| 人工:硬刷新后 Network `/api/analyze` 首屏次数 | PASS(预期 1 次) | 去掉 ui.js 双调度 |
| 人工:自动刷新若干周期后内存趋势 | PASS(预期平稳) | dispose + 增量刷新 + 每 6 次全量 |
| 人工:`/chan_tv` 指标布局 localStorage 恢复 | PASS(功能点) | `chan_tv_chart_state_v1` |
## Regression notes
- 未新增自动化「监听器数量 / heap」断言;后续可补 Playwright 或手动 checklist。
- 若怀疑 ChanMACD 复用改动影响序列:重跑 `pytest tests/test_golden_pipeline.py`
## Decision
L1 文档门禁满足(IDEA + 本报告 + CHANGELOG)。未请求 Live Promote。