test: add Session/Memory/Summary replay consistency harness#216
Open
Thoth-hyx wants to merge 2 commits into
Open
test: add Session/Memory/Summary replay consistency harness#216Thoth-hyx wants to merge 2 commits into
Thoth-hyx wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #216 +/- ##
==========================================
Coverage ? 87.92015%
==========================================
Files ? 479
Lines ? 44984
Branches ? 0
==========================================
Hits ? 39550
Misses ? 5434
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
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 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a reusable cross-backend replay consistency harness for Session, Memory, and Session Summary behavior.
The harness executes the same standardized operation traces against InMemory and SQLite-backed services, normalizes non-business fields, compares the replay results, and generates a field-level JSON diff report.
Closes #
Changes
allowed_diffentries with explanations.session_memory_summary_diff_report.jsonwith:REPLAY_MODE=inmemoryfor InMemory-only runsNo production code under
trpc_agent_sdk/sessionsis changed.Validation
tests/sessionsregression suite: 361/361 passedHow to run