Skip to content

fix(ffi): remove undesired network request from the client builder#5919

Merged
poljar merged 1 commit into
mainfrom
stefan/client_builder_server_vendor_info
Dec 2, 2025
Merged

fix(ffi): remove undesired network request from the client builder#5919
poljar merged 1 commit into
mainfrom
stefan/client_builder_server_vendor_info

Conversation

@stefanceriu
Copy link
Copy Markdown
Member

Making network requests before actually building a client interferes with offline support, especially so in lie-fi situations. The method is exposed through FFI though and can be used at the final user's discretion (e.g. when submitting a bug report).

Making network requests before actually building a client interferes with offline support, especially so in lie-fi situations.
The method is exposed through FFI though and can be used at the final user's discretion (e.g. when submitting a bug report).
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Dec 2, 2025

CodSpeed Performance Report

Merging #5919 will not alter performance

Comparing stefan/client_builder_server_vendor_info (3351571) with main (19b7036)

Summary

✅ 50 untouched

@stefanceriu stefanceriu marked this pull request as ready for review December 2, 2025 15:18
@stefanceriu stefanceriu requested a review from a team as a code owner December 2, 2025 15:18
@stefanceriu stefanceriu requested review from Hywan and removed request for a team December 2, 2025 15:18
@stefanceriu stefanceriu enabled auto-merge (rebase) December 2, 2025 17:28
@poljar poljar disabled auto-merge December 2, 2025 17:36
@poljar poljar merged commit 8c4a19b into main Dec 2, 2025
58 checks passed
@poljar poljar deleted the stefan/client_builder_server_vendor_info branch December 2, 2025 17:37
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.66%. Comparing base (19b7036) to head (3351571).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5919   +/-   ##
=======================================
  Coverage   88.65%   88.66%           
=======================================
  Files         363      363           
  Lines      104691   104691           
  Branches   104691   104691           
=======================================
+ Hits        92817    92822    +5     
+ Misses       7519     7514    -5     
  Partials     4355     4355           

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

Hywan added a commit to Hywan/matrix-rust-sdk that referenced this pull request Dec 3, 2025
This patch disables the `matrix-sdk/federation-api` in
`matrix-sdk-ffi` because it's no longer useful since the merge of
matrix-org#5919.
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.

3 participants