tests: add record-replay regression tests with size comparison#25
Closed
tests: add record-replay regression tests with size comparison#25
Conversation
Add comprehensive tests that verify the record/replay functionality by running all regression commands during recording, then replaying on the generated kdumpling vmcore and verifying identical output. Key features: - Records while running all regression commands against golden outputs - Stops recording and generates vmcore via kdumpling - Loads vmcore and replays all commands, verifying same golden output - Prints size comparison (original vs recorded) in GitHub Actions - Size comparison appears in both logs and job summary The tests ensure that: 1. Recording captures all memory needed to replay commands 2. Replay produces identical output to the original dump 3. Recorded vmcore is significantly smaller than original https://claude.ai/code/session_01EmvCYCmwuRaiSwC9Foqcb3
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #25 +/- ##
========================================
Coverage 76.13% 76.13%
========================================
Files 69 69
Lines 4036 4036
Branches 625 625
========================================
Hits 3073 3073
Misses 809 809
Partials 154 154 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Owner
Author
|
Actions fail silently and we don't get visibility into which test failed, this is not good |
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.
Add comprehensive tests that verify the record/replay functionality
by running all regression commands during recording, then replaying
on the generated kdumpling vmcore and verifying identical output.
Key features:
The tests ensure that:
https://claude.ai/code/session_01EmvCYCmwuRaiSwC9Foqcb3