-
Notifications
You must be signed in to change notification settings - Fork 19
refactor: simplify event type handling in RoomService and update schemas #269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughType/schema adjustments for federation join handling: removed type assertions in room.service, switched federation API schemas to use PduSchema/EventPduTypeRoomMember, and exported EventPduTypeRoomMember. SendJoinResponseSchema.event is now required and typed, and state/auth_chain arrays now use PduSchema. Changes
Sequence Diagram(s)Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (3)
🧰 Additional context used🧬 Code graph analysis (1)packages/federation-sdk/src/specs/federation-api.ts (1)
🔇 Additional comments (5)
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 |
b9a5c7c to
f0443e9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #269 +/- ##
==========================================
- Coverage 62.33% 62.31% -0.02%
==========================================
Files 67 67
Lines 6385 6387 +2
==========================================
Hits 3980 3980
- Misses 2405 2407 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit
Refactor
Chores