chore(rivetkit): remove wasm sqlite runtime#4614
Conversation
PR Review: chore(rivetkit): remove wasm sqlite runtimeOverviewThis PR removes the WASM SQLite runtime ( Key changes:
Potential Issues1. Named-parameter fallback behavior change in In const orderedNames = extractNamedSqliteParameters(sql);
if (orderedNames.length === 0) {
return Object.values(params).map((arg) => toNativeBinding(arg));
}The previous 2. Redundant
3. Removed in-flight query error detection The old 4. Missing preload for SQLite on native path The WASM path preloaded SQLite KV entries at startup to reduce first-query latency. The native path removes this ( 5. Removal of
Code Quality Notes
Test CoverageNo new tests accompany this refactor. Given the scope of change (new host bridge functions, new
SummaryThe direction is correct — removing the WASM SQLite layer in favor of the native envoy path significantly simplifies a complex multi-layer stack. The main items worth addressing before merge are the named-parameter fallback behavior change (#1) and confirming the in-flight query error experience (#3). The redundant delete (#2) is low-priority but worth cleaning up for clarity. 🤖 Generated with Claude Code |
Preview packages published to npmInstall with: npm install rivetkit@pr-4614All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-822b57f
docker pull rivetdev/engine:full-822b57fIndividual packagesnpm install rivetkit@pr-4614
npm install @rivetkit/react@pr-4614
npm install @rivetkit/rivetkit-native@pr-4614
npm install @rivetkit/workflow-engine@pr-4614 |
4bd0fb1 to
ab9f56f
Compare
a145cda to
2e5abc9
Compare
2e5abc9 to
ac6753a
Compare
ab9f56f to
d00c2b0
Compare
9da1113 to
e792448
Compare
d6a0ba8 to
bd95874
Compare
e792448 to
c0e0e30
Compare
78c3c4b to
ec1d965
Compare
d968ffa to
3f92424
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: