Skip to content

feat(examples): add session/memory replay consistency testing framework (#89) - #287

Open
xyaohubery wants to merge 1 commit into
trpc-group:mainfrom
xyaohubery:split/issue-89-session-replay
Open

feat(examples): add session/memory replay consistency testing framework (#89)#287
xyaohubery wants to merge 1 commit into
trpc-group:mainfrom
xyaohubery:split/issue-89-session-replay

Conversation

@xyaohubery

Copy link
Copy Markdown

Summary

Add a session/memory replay consistency testing framework example.

  • Multi-backend replay consistency verification
  • Compares responses across InMemory, Redis, SQL session/memory backends

Fixes #89

This is a split from the original PR #166, addressing only issue #89 per reviewer feedback.

Co-Authored-By: Claude noreply@anthropic.com

…rk (trpc-group#89)

Add a session replay test harness that compares responses across InMemory,
Redis, and SQL session/memory backends to detect consistency regressions.

Fixes trpc-group#89

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main        #287   +/-   ##
==========================================
  Coverage        ?   88.44269%           
==========================================
  Files           ?         491           
  Lines           ?       46118           
  Branches        ?           0           
==========================================
  Hits            ?       40788           
  Misses          ?        5330           
  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.

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