LiveObjects: Test receiving two create ops for the same object ID#2156
LiveObjects: Test receiving two create ops for the same object ID#2156lawrence-forooghian merged 1 commit intomainfrom
Conversation
WalkthroughAdds two test scenarios in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ast-grep (0.40.5)test/realtime/liveobjects.test.jsTip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! 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. Comment |
16a62af to
1aac32a
Compare
1aac32a to
d4c0fd1
Compare
These tests demonstrate the necessity of the createOperationIsMerged flag, which I had previously incorrectly proposed removing — one reason for which was that no tests failed when I tried removing it. See internal conversation in [1]. Tests written by Claude. [1] https://ably-real-time.slack.com/archives/C09SY1AQGK0/p1769459426372989?thread_ts=1769195388.456439&cid=C09SY1AQGK0
d4c0fd1 to
8a763d8
Compare
These tests demonstrate the necessity of the
createOperationIsMergedflag, which I had previously incorrectly proposed removing — one reason for which was that no tests failed when I tried removing it. See internal conversation.Tests written by Claude.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.