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

Add support for new update types #446

Merged
merged 3 commits into from May 21, 2019
Merged

Add support for new update types #446

merged 3 commits into from May 21, 2019

Conversation

Pessimistress
Copy link
Contributor

No description provided.

Copy link
Contributor

@jlisee jlisee left a comment

Choose a reason for hiding this comment

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

This looks great.

@@ -21,3 +22,11 @@ export const LOG_STREAM_MESSAGE = {
ERROR: 'ERROR',
INCOMPLETE: 'INCOMPLETE'
};

export const STATE_UPDATE_TYPE = {
complete_state: 'COMPLETE',
Copy link
Contributor

@twojtasz twojtasz May 13, 2019

Choose a reason for hiding this comment

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

nit: I prefer the consistency of the string being the same as the key, unless there is a reason to not do this.

Copy link
Contributor

@twojtasz twojtasz left a comment

Choose a reason for hiding this comment

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

It seemed strange if snapshot is semantically closer to incremental, yet in nearly all the test cases the change was snapshot => complete_state. The semantic differences have to do with the TIME_WINDOW in the log synchronizer, so i realized that if we just have a single sample then there is no semantic difference.

I think we need some additional tests on the logSynchronizer independent of this, which you may already ahve in the works.

@twojtasz twojtasz added this to the v1.0 milestone May 15, 2019
@coveralls
Copy link

coveralls commented May 16, 2019

Coverage Status

Coverage increased (+0.1%) to 74.341% when pulling b56746e on x/update-types into a80151b on master.

@twojtasz twojtasz mentioned this pull request May 17, 2019
31 tasks
@Pessimistress Pessimistress merged commit f5fae96 into master May 21, 2019
@Pessimistress Pessimistress deleted the x/update-types branch May 21, 2019 23:43
alexhaislip pushed a commit to Smart-Ag/xviz that referenced this pull request Aug 2, 2021
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.

None yet

4 participants