Skip to content

Conversation

simolus3
Copy link
Contributor

@simolus3 simolus3 commented Oct 6, 2025

The streamSubscriptions field on SerializedSyncStatus is nullable for compatibility with older workers. When the worker initializes, it has no subscriptions on its status and serializes them as the string null (because subscriptions are JSON-serialized). This then crashes the client, which either expects the field itself to be null or to contain a JSON array.

This fixes the issue by handling the JSON null as well.

Closes #335.

@simolus3 simolus3 requested a review from Chriztiaan October 6, 2025 09:01
@simolus3 simolus3 merged commit 227f416 into main Oct 6, 2025
5 checks passed
@simolus3 simolus3 deleted the fix-decoding-sync-status branch October 6, 2025 09:31
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.

Crash if i login

2 participants