Repository navigation
fix(realtime): skip deltas for unobserved workspaces - #593
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
imshashank
marked this pull request as ready for review
November 16, 2026 23:39
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Realtime hub instances were resolving issue audiences and validating moves even when no connection belonged to the affected workspace. Health-created and idle instances could therefore perform unnecessary database work for broadcast events.
Skip those unobserved workspace actions before database-backed checks. Invalidate the affected issue boundary and old presence so reconnect reloads the current audience, while preserving the existing validation and ordering for connected workspaces. Production timeout causality remains unproved.
Validation at
0ddb3842a701fa4c3b241266a1df6018a2a3a881, including current main9113ce76c2ffa992981ba63a32dd12c38c9d7ea6:bun run verify: 7,154 passed, 0 failed, 0 skipped; all static and type checks green; source unchanged.No migration is required.