GitNexus/gitnexus/src
henry 689f79acc1 fix(analyze): make FTS index creation non-fatal during analyze
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++.
2026-05-22 16:57:49 +08:00
..
cli fix(cli): apply --no-stats to keep-marker stats line (#1706) (#1765) 2026-05-22 07:03:40 +01:00
config feat: add IncludeExtractor for C++ cross-repo include tracking (group) (#1156) 2026-05-09 09:31:59 +01:00
core fix(analyze): make FTS index creation non-fatal during analyze 2026-05-22 16:57:49 +08:00
lib feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
mcp fix(mcp): disambiguate duplicate-name repo resolution for worktrees (#1753) 2026-05-21 19:21:25 +01:00
server fix(lbug): keep serve stable when sidecars are missing (#1747) 2026-05-21 12:35:43 +01:00
storage fix: shard parse cache persistence on large repos (#1580) 2026-05-16 07:19:06 +01:00
types feat(ingestion): language-agnostic heritage extractor with config+factory pattern (#890) 2026-04-17 17:51:17 +01:00