Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record skipped event data in events #43

Closed
wants to merge 2 commits into from
Closed

Record skipped event data in events #43

wants to merge 2 commits into from

Conversation

osa1
Copy link

@osa1 osa1 commented Aug 31, 2018

With this patch we record any skipped data of an event in Event, to be able
to serialize Events with skipped data as they were generated by GHC. This in
turn gives us roundtrip property for more events (but not for all events, for
that we need to fix #14).

Fixes #41

@osa1
Copy link
Author

osa1 commented Aug 31, 2018

Ping @maoe .

Apparently this doesn't build with GHC 7.8.4. I'll fix this later.

@maoe
Copy link
Member

maoe commented Sep 1, 2018

The changes look good to me. Could we add a test case to check the property?

Regarding the build error with GHC 7.8.4, I'm personally fine with dropping support for it if the fix involves CPP.

@osa1
Copy link
Author

osa1 commented Sep 8, 2018

Could we add a test case to check the property?

We don't actually have roundtrip property until we fix #14 first -- I'll update the PR title and description. I wrote some ideas in #14 and I'm hoping to start working on it so let me know what you think. After #14 we can write hedgehog or QC based property tests.

(I'm currently testing this branch by reading a 1G large .eventlog file and for every event testing the roundtrip property)

@osa1 osa1 changed the title Implement roundtrip property for putEvent/getEvent Record skipped event data in events Sep 8, 2018
@osa1 osa1 closed this Jan 20, 2024
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.

getEvent can't deserialize event serialized by putEvent Testsuite write-merge failing
2 participants