Conversation
aballiet
marked this pull request as ready for review
September 8, 2026 00:21
Contributor
|
I will merge this if there is more support or sponsorship, otherwise I'm stuck supporting this for years. |
Author
OK got it! 😊 |
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
rbu: truebuild configuration for Android CMake, CocoaPods, and SwiftPMisRBUEnabled()and asynchronousapplyRBU()APIsRBU remains disabled by default and supports OP-SQLite's bundled vanilla SQLite backend. Configuring the dedicated toggle with SQLCipher, libSQL, Turso, or Apple's embedded SQLite fails at build time. Web and the Node test facade expose capability detection and a clear unsupported error.
sqliteFlags: "-DSQLITE_ENABLE_RBU=1"remains available for low-level configuration. The dedicated toggle is preferred because it validates backend compatibility.API
The native worker performs at most 1000 steps by default and always closes the RBU handle, including error paths. A paused close persists SQLite's resume state; a completed update returns
status: "complete"andstate: "done".Verification
Local Apple compilation/runtime testing was unavailable in this environment; CI should exercise the CocoaPods and SwiftPM paths.
Build impact
Disabled builds do not compile the RBU extension. Enabled builds add SQLite's bundled RBU implementation and a small JSI adapter; no additional native dependency or SQLite library is linked.
Closes #452