Skip to content

Conversation

@zxch3n
Copy link
Member

@zxch3n zxch3n commented Dec 11, 2025

  • add onError hook and safeSend guard to avoid sending on closed sockets
  • swallow decode/socket errors without crashing and surface via onError
  • cover join retry + decode failure with tests

Tests: pnpm --filter loro-websocket test; pnpm --filter loro-adaptors test; pnpm test

@zxch3n zxch3n merged commit 858a1e9 into main Dec 11, 2025
2 checks passed
@zxch3n zxch3n deleted the zxch3n/ws-client-robustness branch December 11, 2025 16:12
@github-actions github-actions bot mentioned this pull request Dec 11, 2025
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.

2 participants