Skip to content

[test][P2] 导出内存、哈希遍数、补全、memory tree、agent 与跨平台的端到端覆盖 #253

Closed

Description

@codeasier

父 issue:#248

# 要测 依据 建议形态 现有部分覆盖
1 导出器内存随规模:100 万事件导出校验阶段峰值 / RSS 有上限 #240 / #241 夜间,tracemalloc 或子进程 ru_maxrss 阈值 #241 的 test_msinsight_export_validation.py
2 CLI 层报告哈希遍数与默认强校验;immutable 需显式开启 #238 / #247 子进程 + 打桩 hash_file 计次 test_report_content_integrity.py(API 层)
3 冷启动时延:50 万事件分片数据集上首次 pt-snap query 审阅风险项 夜间只记录趋势 无(test_query_cache_perf.py:52 为热路径)
4 tab 补全不碰分片:focus 指向分片数据集时不打开或哈希成员库 审阅风险项 打桩 sqlite3.connect / hash_file 断言调用为 0;每个 PR 跑 test_completion.py:109-165(单库)
5 有序帧 / memory tree / 火焰图在分片数据集上端到端,与单库一致 #206 / #232 带帧 pkl 分片导入 → report memory-tree → 对比单库 + 浏览器冒烟 test_memory_tree_report.py、test_memory_tree_browser.py(不涉及分片)
6 agent e2e 跑真实 agent,而不只是给已存 baseline 打分;干净 wheel agent 验收加分片路径 skills 套件 手动或每周;clean_wheel_agent_acceptance.py 加 --events-per-slice test_agent_e2e.py、clean_wheel_agent_acceptance.py:331
7 Windows / macOS:路径、file: URI(?mode=ro)、只读成员、scratch 临时目录 平台差异 CI 矩阵加 windows-latest / macos-latest,3.13 非 slow 仅 ubuntu

Activity

  1. codeasier commented on Oct 11, 2026

    @codeasier
    OwnerAuthor

    验收关闭(2026-10-12):由 #257 + #262 + #263 合入。跨平台、agent/wheel 分片、资源验收(哈希遍数/补全/导出内存/冷启动)已落地;Windows/macOS CI 通过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions