fix: packaged SQLite bridge bindings for release builds#54
Merged
Yashh56 merged 4 commits intoRelwave:masterfrom Mar 17, 2026
Merged
fix: packaged SQLite bridge bindings for release builds#54Yashh56 merged 4 commits intoRelwave:masterfrom
Yashh56 merged 4 commits intoRelwave:masterfrom
Conversation
fix: packaged SQLite bridge bindings for release builds
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
Fix the packaged SQLite bridge so release builds can load
better-sqlite3correctly.Changes
better-sqlite3to11.9.0in the bridgebetter_sqlite3.nodefor thepkgbridge runtimebetter-sqlite3install/build scripts inbridge/pnpm-workspace.yamlbridge build logic
Why
The packaged bridge runs on Node 18 via
pkg, but the local SQLite native addon was being built for the host Nodeversion. That caused release builds to fail with missing or ABI-mismatched
better_sqlite3.nodebindings.Verification
pnpm --dir bridge rebuild better-sqlite3pnpm --dir bridge run buildpnpm --dir bridge run copy:nativecargo check --manifest-path src-tauri/Cargo.tomldb.connectTestsucceeds against a SQLite database under thepackaged Node 18 runtime