Skip to content

Conversation

@mldangelo
Copy link
Member

Summary

  • Replace better-sqlite3 with node:sqlite (requires Node >= 24)
  • Add type-safe query helper with exec, prepare, all, get, run methods
  • Add safe bigint-to-number conversion with overflow protection
  • Add graceful database shutdown on process exit
  • Fix Eval.save() falsy check bug (id=0 would incorrectly INSERT)
  • Fix Eval.delete() to cascade delete eval_results (prevent orphans)
  • Suppress ExperimentalWarning in all npm scripts
  • Remove 38 native dependencies (~400 lines from lock file)

BREAKING CHANGE: Requires Node.js >= 24

Test plan

  • Build passes (npm run build -w server)
  • Bootstrap runs without errors
  • API returns expected data

mldangelo and others added 2 commits December 19, 2025 11:24
- Replace better-sqlite3 with node:sqlite (requires Node >= 24)
- Add type-safe query helper with exec, prepare, all, get, run methods
- Add safe bigint-to-number conversion with overflow protection
- Add graceful database shutdown on process exit
- Fix Eval.save() falsy check bug (id=0 would incorrectly INSERT)
- Fix Eval.delete() to cascade delete eval_results (prevent orphans)
- Suppress ExperimentalWarning in all npm scripts
- Remove 38 native dependencies (~400 lines from lock file)

BREAKING CHANGE: Requires Node.js >= 24

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mldangelo mldangelo merged commit 8e1537a into main Dec 21, 2025
3 checks passed
@mldangelo mldangelo deleted the migrate-to-node-sqlite branch December 21, 2025 17:33
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.

3 participants