Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
RNET-1083: Add support for progress estimate on progress notifications #3479
RNET-1083: Add support for progress estimate on progress notifications #3479
Changes from 26 commits
2cd0022
3a98f21
d666645
02417ef
e7a3f7b
728f148
febeb00
e14c6bc
d6c5928
f65e9e0
fce8d1e
fd93f00
7187f58
8ce794d
8d8dc5a
d67355d
6a8ef77
f24e587
d86c69f
1c4d112
3ecbb55
1c80ff1
c1ed213
42cec9f
a817705
3a2ddcd
ae1db72
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Source Generation
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (windows-latest, win-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (windows-latest, win-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (windows-latest, win-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (windows-latest, win-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Package / NuGet
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Package / NuGet
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (macos-latest, osx-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (macos-latest, osx-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (macos-latest, osx-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Weaver (macos-latest, osx-x64)
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Analyze C#
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Analyze C#
Check warning on line 411 in Realm/Realm/Handles/SessionHandle.cs
GitHub Actions / Test / Code Coverage
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.
If transferable is 0, shouldn't progress be 1?
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.
Yes 👀
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.
it's a bit weird now to refer to transferred/transferable after these fields were removed. Also, it makes no sense any more for download direction. Probably, a good idea is to rephrase it in a way that it refers to snapshot committed version for upload on callback registration (that is essentially transferable bytes), and for download it is whatever server decides for the outgoing or next batch of changesets to catch up the client to the latest version.
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.
@kiburtse I agree with you, it's kinda imprecise.
Would you think the following will make sense?
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.
@nirinchev I'll fix the other two small things. I suppose this is the latest thing to agree on. Do you have input on this?
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.
@papafe looks good to me. The only additional consideration here is that this notion of "next batch of changesets" is very sync client implementation specific. I'm not sure how familiar sdk users are with this. Maybe it also raises the expectations a bit too much since in steady state this is not the case for sure because every download message is its own batch, and in general it's not defined as of now how it should behave with flexible sync and subscriptions change.
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.
Makes sense. I think I will change "changeset" to "data" to keep on the more generic side