mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-01 02:01:24 +00:00
When the LadybugDB FTS extension cannot be loaded (e.g. macOS 12 where libc++ lacks std::to_chars(double), or container environments without the native extension), `gitnexus analyze --embeddings` fails at 85% and aborts before embedding generation can run. This is inconsistent with the MCP server's behavior: pool-adapter.ts already treats FTS load failure as a graceful degradation (ftsLoaded = false, BM25 search degrades, other features continue). Change: wrap createSearchFTSIndexes() in try/catch so that: - FTS creation failure logs a warning instead of throwing - Embedding generation (Phase 4) proceeds normally - `--repair-fts` remains available for explicit FTS retry - BM25 keyword search degrades gracefully (same as MCP read path) Affected users: macOS 12 (Monterey), any platform where the FTS extension binary references symbols missing from the system libc++. |
||
|---|---|---|
| .. | ||
| cli | ||
| config | ||
| core | ||
| lib | ||
| mcp | ||
| server | ||
| storage | ||
| types | ||