Skip to content

fix: Windows better-sqlite3 boot abort - #18

Merged
trippyogi merged 1 commit into
mainfrom
fix/windows-sqlite-boot-gc
Aug 10, 2026
Merged

trippyogi merged 1 commit into
mainfrom
fix/windows-sqlite-boot-gc

Conversation

@trippyogi

Copy link
Copy Markdown
Owner

Summary

  • Windows better-sqlite3 was aborting (exit 134) during createApp when GC finalized ephemeral Statements mid-load
  • Bootstrap now re-execs with --expose-gc on Windows, drains GC after DB init, then starts; npm start / smoke spawn the same flag

Test plan

Drain Statement finalizers with --expose-gc after DB init before loading the server graph so smoke:dispatch and npm start survive on Windows.
@trippyogi
trippyogi merged commit c3b3d16 into main Aug 10, 2026
@trippyogi
trippyogi deleted the fix/windows-sqlite-boot-gc branch August 10, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant