Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(test): replace tsx spawn with in-process autoIndexAndSync

3 months ago

cbb1fd2
Authored
asta-nguyen8/7/2026, 3:24:22 AM
The does-not-reindex test spawned a tsx child process to start the
MCP server. Under Node/vitest, tsx crashes because drizzle-orm
statically imports bun:sqlite which does not exist outside Bun.
Replace the spawn with a direct in-process call to the exported
autoIndexAndSync function.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

Parentd5992f2

2 files changed
  • apps/mcp/src/mcp-core.ts+1−1
  • tests/mcp-tools.test.ts+5−16