-
Notifications
You must be signed in to change notification settings - Fork 179
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
[Access] Update websockets event streaming to return JSON-CDC encoded events #5048
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5048 +/- ##
==========================================
+ Coverage 56.02% 56.29% +0.26%
==========================================
Files 965 975 +10
Lines 89671 90848 +1177
==========================================
+ Hits 50241 51145 +904
- Misses 35678 35894 +216
- Partials 3752 3809 +57
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for me.
wsController.wsErrorHandler(err) | ||
return | ||
} | ||
events[i].Payload = payload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a event that is only updated with the Payload field, and the rest fields are all empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch. I'm not actually sure why tests were passing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they passed because the handler was overwriting the expected results data. fixed in 5eb72b7
…coding [Access] Update websockets event streaming to return JSON-CDC encoded events
Closes: #5047
A regression was introduced that cause the events returned from the websockets event streaming endpoint to be CCF encoded. This PR updates the handler to encode to JSON-CDC.