Repository navigation
fix(sqlite): distinguish shared system SQLite in WAL safety error - #107771
Merged
steipete merged 3 commits intoJul 15, 2026
Merged
Conversation
Co-authored-by: Erick Kinnee <[email protected]>
Co-authored-by: Erick Kinnee <[email protected]>
Contributor
|
Land-ready maintainer pass complete.
Known proof gaps: none for this diagnostic-only SQLite safety fix. |
Contributor
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 15, 2026
…enclaw#107771) * fix(sqlite): distinguish shared system SQLite from embedded in WAL safety error * test(sqlite): cover shared build diagnostics Co-authored-by: Erick Kinnee <[email protected]> * style(sqlite): format shared build check Co-authored-by: Erick Kinnee <[email protected]> --------- Co-authored-by: Erick Kinnee <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
zooqueen
pushed a commit
to zooqueen/openclaw
that referenced
this pull request
Sep 11, 2026
…enclaw#107771) * fix(sqlite): distinguish shared system SQLite from embedded in WAL safety error * test(sqlite): cover shared build diagnostics Co-authored-by: Erick Kinnee <[email protected]> * style(sqlite): format shared build check Co-authored-by: Erick Kinnee <[email protected]> --------- Co-authored-by: Erick Kinnee <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
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.
Closes: #106933
What Problem This Solves
When Node is built with
node_shared_sqlite=true, the WAL safety check diagnostic says "Node 24.18.0 embeds SQLite 3.46.1" — but it's using a shared system library, not an embedded one. The wording misdirects users toward upgrading Node, which won't change the system SQLite library.Why This Change Was Made
The root cause: the diagnostic always assumed Node's SQLite was statically embedded. With
node_shared_sqlite=true(common on distro-packaged Node builds like Kali Linux Rolling),process.config.variables.node_shared_sqliteis"true", and the runtime SQLite version comes from the shared library — not the version Node was compiled against.The fix checks
process.config.variables.node_shared_sqlite(handling GYP string values) and branches both the wording and remediation:User Impact
Users on distro-packaged Node builds (Kali, Debian, Ubuntu, etc.) who hit the WAL safety check will now see accurate wording and actionable remediation. No impact on standard Node builds.
Evidence
Real CLI Proof
Executed from PR head
795b742861dwith Node v24.18.0.Before (broken behavior — shared build mislabeled as embedded):
After (fixed behavior — shared build correctly identified):
Embedded build behavior preserved (no regression):
Automated Validation
Disclosure
AI-assisted: yes.
@clawsweeper