Repository navigation
feat: first prototype of circles federation over OCM - #3070
Draft
cristianscheid wants to merge 1 commit into
Draft
cristianscheid wants to merge 1 commit into
cristianscheid wants to merge 1 commit into
Conversation
cristianscheid
force-pushed
the
feat/noid/ocm-implementation
branch
2 times, most recently
from
November 10, 2026 10:44
b126192 to
f2a037b
Compare
3 of 7 tasks
artonge
reviewed
Nov 10, 2026
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
cristianscheid
force-pushed
the
feat/noid/ocm-implementation
branch
from
November 11, 2026 16:41
f2a037b to
c6edcf9
Compare
This branch has not been 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.
Summary
This is a prototype for replacing circles custom federation protocol with OCM. It focuses on how circles events propagate between servers. The idea is to send events via OCM notifications (
ocm/notifications) instead of using the two existing custom routes (/apps/circles/incoming/and/apps/circles/event/).As a first step, this is what was done:
/.well-known/ocmas a new resource type/protocol:federated_teams_ocmfederated_teams_ocmis enabled and remote server advertises via OCM discovery both thecirclesprotocol and thenotification-sender-domaincapability (see feat(ocm): support new format of notfication payload server#66049), circles events are sent as OCM notifications instead of the custom routes:CIRCLES_BROADCAST_EVENTis sent by the server hosting the team to all remote servers that have membersCIRCLES_REQUEST_EVENTis sent by a server with team members to the server hosting the teamCIRCLES_BROADCAST_EVENTto all remote servers that have members/apps/circles/incoming/and/apps/circles/event/) are still there, so servers without this change keep workingocc circles:remoteusing WebFinger discoverylib/FederatedItems) logic was not changed, meaning server still validates/applies change, and broadcasts it through the async loopbackTODO
occ circles:remote <host>) using OCM discovery instead of WebFinger, by checking if remote has it enabled and lists thecircleresource type with thecirclesprotocolChecklist
3. to review, feature component)stable32)AI (if applicable)