Skip to content

test: add replay consistency harness#122

Open
zzp1221 wants to merge 1 commit into
trpc-group:mainfrom
zzp1221:feat/replay-consistency-harness
Open

test: add replay consistency harness#122
zzp1221 wants to merge 1 commit into
trpc-group:mainfrom
zzp1221:feat/replay-consistency-harness

Conversation

@zzp1221

@zzp1221 zzp1221 commented Jul 5, 2026

Copy link
Copy Markdown

Summary

  • add Session / Memory / Summary replay consistency harness
  • cover 10 replay cases with InMemory vs SQLite comparison
  • add JSON diff report and design notes
  • fix InMemory session storage copy/window mirroring issue found by replay checks

Validation

  • pytest tests\sessions\test_replay_consistency.py tests\sessions\test_in_memory_session_service.py -q --basetemp ...
  • ruff check tests\sessions\test_replay_consistency.py tests\sessions\test_in_memory_session_service.py trpc_agent_sdk\sessions\_in_memory_session_service.py
  • MySQL + Redis integration: tests\sessions\test_replay_consistency.py 29 passed

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

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

@codecov

codecov Bot commented Jul 5, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main        #122   +/-   ##
==========================================
  Coverage        ?   87.53408%           
==========================================
  Files           ?         467           
  Lines           ?       44008           
  Branches        ?           0           
==========================================
  Hits            ?       38522           
  Misses          ?        5486           
  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.

@zzp1221 zzp1221 force-pushed the feat/replay-consistency-harness branch from 24690dd to 20abe3a Compare July 5, 2026 08:30
@zzp1221

zzp1221 commented Jul 5, 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 5, 2026
@zzp1221

zzp1221 commented Jul 5, 2026

Copy link
Copy Markdown
Author

recheck

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.

1 participant