mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-01 02:01:24 +00:00
Addresses all 5 blocking findings from production-readiness review: 1. meta.json capabilities: Track ftsIndexed flag and write status='degraded' (not 'available') when FTS indexes are missing. Prevents false-positive capability reporting (#1715 regression). 2. Progress event gap: Emit progress('fts', 90, 'Search indexes degraded (BM25 unavailable)') in the verification-failure branch so progress never stalls at 85%. 3. Narrow catch scope: Only suppress errors containing 'FTS extension unavailable'. DB connection failures, schema errors, and programming errors (e.g. safeIdentifier) now propagate as before. 4. (Finding 4 resolved by Finding 3): Non-FTS errors still throw in all analyze modes, so only the intended FTS-unavailable case degrades. 5. Stronger test assertions: Verify warning log content, verify progress does not report 'Search indexes ready', verify degraded progress message is emitted. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||