Skip to content

feat(sessions): 添加多后端回放一致性测试框架#114

Open
Stelquis wants to merge 1 commit into
trpc-group:mainfrom
Stelquis:feature/session-replay-test
Open

feat(sessions): 添加多后端回放一致性测试框架#114
Stelquis wants to merge 1 commit into
trpc-group:mainfrom
Stelquis:feature/session-replay-test

Conversation

@Stelquis

@Stelquis Stelquis commented Jul 2, 2026

Copy link
Copy Markdown

实现 ReplayHarness 和 DiffEngine,覆盖 event/state/memory/summary 四维度跨后端一致性验证。包含 10 条 replay case (7 正常 + 3 注入)
和 29 个测试用例,支持 InMemory ↔ SQLite 轻量对比。

Fixes #89

RELEASE NOTES: 新增 Session/Memory 多后端回放一致性测试框架

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@73655ab). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             main        #114   +/-   ##
==========================================
  Coverage        ?   87.64588%           
==========================================
  Files           ?         433           
  Lines           ?       41557           
  Branches        ?           0           
==========================================
  Hits            ?       36423           
  Misses          ?        5134           
  Partials        ?           0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

实现 ReplayHarness 和 DiffEngine,覆盖 event/state/memory/summary
四维度跨后端一致性验证。包含 10 条 replay case (7 正常 + 3 注入)
和 29 个测试用例,支持 InMemory ↔ SQLite 轻量对比。

Fixes trpc-group#89

RELEASE NOTES: 新增 Session/Memory 多后端回放一致性测试框架
@Stelquis Stelquis force-pushed the feature/session-replay-test branch from 422fff7 to 5b900a7 Compare July 2, 2026 10:03
@Stelquis

Stelquis commented Jul 2, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Rook1ex added a commit to trpc-group/cla-database that referenced this pull request Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

构建 Session / Memory 多后端回放一致性测试框架

1 participant