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

feat: Detour serializer #2899

Merged
merged 15 commits into from
Nov 19, 2024
Merged

feat: Detour serializer #2899

merged 15 commits into from
Nov 19, 2024

Conversation

hannahpurcell
Copy link
Collaborator

@hannahpurcell hannahpurcell commented Nov 7, 2024

Asana Ticket: https://app.asana.com/0/1205385723132845/1208675099752885

The second commit is completely optional, and maybe not even proper. I enjoyed using map_diff to help print the difference between state and serialized_snapshot on line 29 of snapshot_serde.ex. Not used in production, though, so might not be logical to commit it. On the other hand, I can see it being valuable to our production logs if we did want it.

@hannahpurcell hannahpurcell requested a review from a team as a code owner November 7, 2024 21:05
@firestack
Copy link
Member

The second commit is completely optional, and maybe not even proper. I enjoyed using map_diff to help print the difference between state and serialized_snapshot on line 29 of snapshot_serde.ex. Not used in production, though, so might not be logical to commit it. On the other hand, I can see it being valuable to our production logs if we did want it.

I'm curious to see this! But I don't see any usage of MapDiff in the PR currently?

@hannahpurcell
Copy link
Collaborator Author

I'm curious to see this! But I don't see any usage of MapDiff in the PR currently?

Yeah, I suppose I should have left my log in there as explanation, especially since I've had subsequent merges. I'll add it back in for discussion / testing. I can remove if we deem it too noisy for Splunk

lib/skate/detours/snapshot_serde.ex Outdated Show resolved Hide resolved
lib/skate/detours/snapshot_serde.ex Outdated Show resolved Hide resolved
Copy link
Member

@firestack firestack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! one note, but otherwise I think this is ready to go!

Copy link
Member

@firestack firestack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect thank you!

@hannahpurcell hannahpurcell merged commit 526e12f into main Nov 19, 2024
21 checks passed
@hannahpurcell hannahpurcell deleted the hp/detour-serializer branch November 19, 2024 16:06
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.

2 participants