Configurable VFS for matrix_sdk_sqlite compiled to WASM targets#6365
Draft
NoManColonies wants to merge 32 commits intomatrix-org:mainfrom
Draft
Configurable VFS for matrix_sdk_sqlite compiled to WASM targets#6365NoManColonies wants to merge 32 commits intomatrix-org:mainfrom
NoManColonies wants to merge 32 commits intomatrix-org:mainfrom
Conversation
3 tasks
552e124 to
a063e4b
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6365 +/- ##
==========================================
- Coverage 89.88% 89.85% -0.04%
==========================================
Files 376 376
Lines 103093 103097 +4
Branches 103093 103097 +4
==========================================
- Hits 92670 92637 -33
- Misses 6863 6884 +21
- Partials 3560 3576 +16 ☔ View full report in Codecov by Sentry. |
added 26 commits
March 31, 2026 00:54
chore: address breaking changes from rusqlite feat: support alternative v/fs for wasm environment feat: support non-send future for wasm environment fix: solve incorrect error transformation feat: WIP support connection pool in wasm environment fix: use full-path method call for wasm environment + other fixes for wasm fix: more wasm related fixes feat: use RefCell to simulate interior-mutability in wasm environment fix: use implicit borrow instead of explicit call to `as_ref()` fix: more wasm related fixes fix: resolve ambiguity between lock guard and ref cell implicit reference + more wasm fixes fix: resolve wasm related lifetime issues chore: turn on serde feature for web time when compiled as wasm32 target chore: ran cargo check to verify Cargo.lock file chore: fix comment formatting
…g conditional compilation
added 6 commits
March 31, 2026 01:16
4c38577 to
33660e2
Compare
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.
Split from (#6329)
This PR adds support for configuring different VFS backends when
matrix_sdk_sqliteis compiled for WASM targets.Summary of changes
vfs-opfs-sahpoolfeature to select OPFS as the VFS backendvfs-relaxed-idbfeature to select IndexedDB as the VFS backendvfs-opfs-sahpoolandvfs-relaxed-idbare mutually exclusivecargo xtask cito run the test suite for each configurable VFSNotes
CHANGELOG.mdfiles.Signed-off-by: Geng Kongpop geng@finnomena.com