Skip to content

Fix Bun startup for local history migration#32

Open
Marve10s wants to merge 1 commit intoEmanuele-web04:mainfrom
Marve10s:fix/localhost-history-bun-sqlite
Open

Fix Bun startup for local history migration#32
Marve10s wants to merge 1 commit intoEmanuele-web04:mainfrom
Marve10s:fix/localhost-history-bun-sqlite

Conversation

@Marve10s
Copy link
Copy Markdown
Contributor

Summary

  • avoid importing node:sqlite at module load time under Bun
  • open the history snapshot DB with bun:sqlite on Bun and node:sqlite elsewhere
  • keep the migration logic working for local history restore on localhost dev startup

Verification

  • bun run test src/homeMigration.test.ts
  • bun fmt
  • bun lint
  • bun typecheck

@github-actions github-actions Bot added size:S vouch:unvouched PR author is not yet trusted in the VOUCHED list. vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. and removed vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant