realm-core
realm-core copied to clipboard
Send client integration errors to the server
What, How & Why?
The sync protocol is updated such that JSON_ERROR messages can be sent from client to server too. The sync client sends error messages when remote changesets cannot be integrated.
This represents part 2 of error handling v2.
☑️ ToDos
- [ ] 📝 Changelog update
- [ ] 🚦 Tests (or not relevant)
- [ ] ~~C-API, if public C++ API changed.~~
Can we add a test for this?
Can we add a test for this?
I am working on it. I didn't want to hold back the review while doing that :)
FYI: There is one last sync test failing pending a fix.
FYI: There is one last sync test failing pending a fix.
This proved to be a server issue. Since it may take a while for them to fix it, I'll disable the checks for now.
Has the server merged in their fixes for this? Looks like the test for this is still failing on a few variants.
Has the server merged in their fixes for this? Looks like the test for this is still failing on a few variants.
No. It is going to be a while. I will disable it for now. I filed a ticket to enable it when their fix is in.