fix(rivetkit-core): fail closed sqlite during shutdown#4912
Conversation
Code Review: fix(rivetkit-core): fail closed sqlite during shutdownOverviewThis PR fixes a correctness bug where stale cloned Correctness Issues1. In the old 2. Double After extracting 3. Previously these callbacks were only registered when the user provided them ( Design & Convention Notes4. Calling 5. This is correct for NAPI (JS numbers are all f64), but the field names ( 6. The helper reads both 7.
Test Coverage8. No test for The shared 9. This new method drives the serverless SSE Minor / Style10. Inconsistent indentation in 11. Checklist not filled out — the PR description checklist is blank. For a correctness fix touching the shutdown critical path, ticking at least the self-review and test items would be appropriate. SummaryThe core SQLite fail-closed fix and the shutdown ordering change are sound. The main items to verify before merge are: (1) whether |
bec22e6 to
707cf74
Compare
707cf74 to
fc1d02f
Compare
5aa51ce to
b5f770f
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: