Skip to content

Conversation

@jackyzha0
Copy link
Member

@jackyzha0 jackyzha0 commented Mar 28, 2025

Why

  • we've traded all of our received out-of-order msg, closing connection for invariant violation: would have sent out of order msg
  • some browsers allow events to pre-empt / interrupt existing sync code which could cause problems

What changed

  • make the response wait a tick

Versioning

  • Breaking protocol change
  • Breaking ts/js API change

@jackyzha0 jackyzha0 requested a review from a team as a code owner March 28, 2025 17:51
@jackyzha0 jackyzha0 requested review from masad-frost and zhounathan and removed request for a team March 28, 2025 17:51
@jackyzha0 jackyzha0 force-pushed the jackyzha0/more-invariant-check-info branch from 80fb927 to d201d46 Compare March 28, 2025 18:12
@jackyzha0 jackyzha0 requested a review from Monkatraz March 28, 2025 19:06
@jackyzha0 jackyzha0 changed the title moar invariant checks make passive heartbeat case respond async Mar 28, 2025
@jackyzha0 jackyzha0 merged commit a211674 into main Mar 28, 2025
6 checks passed
@jackyzha0 jackyzha0 deleted the jackyzha0/more-invariant-check-info branch March 28, 2025 21:27
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.

3 participants