-
Notifications
You must be signed in to change notification settings - Fork 32
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
refactor: Remove first CRDT byte from field encoded values #1622
Conversation
Codecov ReportPatch coverage:
@@ Coverage Diff @@
## develop #1622 +/- ##
===========================================
- Coverage 76.09% 75.98% -0.11%
===========================================
Files 192 192
Lines 19856 19852 -4
===========================================
- Hits 15108 15084 -24
- Misses 3717 3731 +14
- Partials 1031 1037 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes Continue to review 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.
LGTM - cheers for getting rid of this Islam :)
@@ -0,0 +1,3 @@ | |||
# Remove the first CRDT byte from field encoded values | |||
|
|||
The first CRDT byte was legacy code and no longer necessary as we have this information independently available via the client.FieldDescription, since the FieldDescription.Typ is the exact same value. |
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.
thought: For the future (I wouldn't bother changing this now as atm it doesnt really matter), but these docs are really for our users, and I think this is worded a little too internally and might not be very helpful for external persons.
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.
I always saw this as internal dev information. It's an interesting point of view :)
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.
Is kind of like a change-log, of really really important changes. Users will likely want to know when, how and maybe why their persisted data has been broken between versions, regardless as to whether or not we have any migrations to help them migrate.
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.
We'll have to surface these elsewhere because I'm certain that users won't come looking for those in a repo sub folder.
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.
Of course, the current location just allows us to build up the history and detect and document when we do actually make breaking changes. These docs will later need to be properly incorporated into externally friendly release documentation.
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.
I think it's should be healthy balance of both user and dev. User so they know why it changed, and dev so they know how it changed
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.
LGTM!
Haven't reviewed but considering the thumbs up from Andy and Fred it's likely good to go. Just wait till @AndrewSisley has merged the lens PR before merging this, so he doesn't have the conflicts (you've pulled the short straw on this one) 👍 |
@islamaliev Don't wait for me to merge, the conflicts will be small and the progression of the Lens PR is taking its time. No need to block this. |
1b929dc
to
7c3f646
Compare
…work#1622) ## Relevant issue(s) Resolves sourcenetwork#1620 ## Description Remove 0th-byte CRDT type from field encoded values
Relevant issue(s)
Resolves #1620
Description
Remove 0th-byte CRDT type from field encoded values
Tasks
How has this been tested?
Unit and integration tests
Specify the platform(s) on which this was tested: