Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

perf(db): skip embeddings dedup on empty table, rebuild templates

3 months ago

dfed446
Authored
JoeJoeflyn8/5/2026, 12:29:13 PM
- Skip window function dedup when embeddings table is empty (saves 1.7s on cold start)
- Rebuild template.sqlite and registry-template.sqlite with new schema
  (input_hash column, embeddings indexes, settings table)
- Fix tsup config: parse-worker entry + bun:sqlite external
- Fix resolveWorkerPath: add bundled worker path candidate

Parent7ff0490

3 files changed
  • packages/db/src/sqlite/repository.ts+736−181
  • packages/db/src/sqlite/workspace-db.ts+101−36
  • packages/indexer/src/index-workspace.ts+726−425