-
Notifications
You must be signed in to change notification settings - Fork 13k
chore: remove very old federation #37055
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
chore: remove very old federation #37055
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
|
Caution Review failedThe pull request is closed. WalkthroughThis PR removes legacy federation and DNS-related functionality across server, startup, methods, hooks, libs, endpoints, typings, UI, and statistics. It deletes federation APIs, handlers, helpers, cron, configuration, and associated imports; disables federation UI paths; and drops DNS v1 endpoints and their typings. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Peer as External Peer
participant API as Server REST API
participant Crypt as Crypt Layer
participant Proc as Event Processor
participant DB as DB
%% Previous (now removed) flow
Peer->>API: POST /v1/federation.events.dispatch (encrypted payload)
API->>Crypt: decryptIfNeeded()
Crypt-->>API: events[]
API->>Proc: iterate events, per-type handling
Proc->>DB: persist events, update rooms/users/messages
Proc-->>API: results
API-->>Peer: 200 { success: true }
note over API,Proc: Entire endpoint and processing pipeline removed.
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (60)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## chore/federation-backup #37055 +/- ##
===========================================================
+ Coverage 67.26% 67.30% +0.03%
===========================================================
Files 3342 3343 +1
Lines 113649 113656 +7
Branches 20697 20728 +31
===========================================================
+ Hits 76450 76496 +46
+ Misses 34595 34557 -38
+ Partials 2604 2603 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
Chores
Documentation
Refactor