Skip to content

Conversation

@zecakeh
Copy link
Collaborator

@zecakeh zecakeh commented Nov 28, 2025

In theory clients shouldn't make requests to the server-server API. A way to work around it for this specific case would be to implement MSC4383.

In the meantime, clients that don't want to use Client::server_vendor_info() won't have to build the extra dependencies added by ruma-federation-api.

The feature is enabled for the bindings, so it isn't a breaking change for matrix-sdk-ffi.

An alternative way to avoid the extra dependencies would be to implement the endpoint in the SDK directly, since the extra dependencies of ruma-federation-api are not necessary for this endpoint. See also the discussion at https://matrix.to/#/!2Z7UlDlK4gFTCIiy2kotE0pyXM2qNp7228PZr9b87Y0/$oEV-B5fPMBgVg3JOR1Qy83DFWVyEcidfdGB0yeE0t8U?via=matrix.org&via=element.io&via=ahouansou.cz.

@zecakeh zecakeh requested a review from a team as a code owner November 28, 2025 13:10
@zecakeh zecakeh requested review from Hywan and removed request for a team November 28, 2025 13:10
@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.65%. Comparing base (ab98028) to head (c3acd0d).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5912      +/-   ##
==========================================
- Coverage   88.66%   88.65%   -0.01%     
==========================================
  Files         363      363              
  Lines      104579   104579              
  Branches   104579   104579              
==========================================
- Hits        92726    92718       -8     
- Misses       7505     7513       +8     
  Partials     4348     4348              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 28, 2025

CodSpeed Performance Report

Merging #5912 will not alter performance

Comparing zecakeh:federation-api-feature (c3acd0d) with main (ab98028)

Summary

✅ 50 untouched

In theory clients shouldn't make requests to the server-server API. A
way to work around it for this specific case would be to implement
MSC4383.

In the meantime, clients that don't want to use
`Client::server_vendor_info()` won't have to build the extra
dependencies added by ruma-federation-api.

The feature is enabled for the bindings, so it isn't a breaking change
for matrix-sdk-ffi.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh force-pushed the federation-api-feature branch from e324e77 to c3acd0d Compare December 1, 2025 15:59
@Hywan Hywan merged commit bbc6df7 into matrix-org:main Dec 2, 2025
54 checks passed
@zecakeh zecakeh deleted the federation-api-feature branch December 2, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants