Files
kilocode/packages
Bazhen Rzheutskii 13cbb35977 fix(indexing): prevent LanceDB metadata type coercion causing full re-index on restart
LanceDB infers the value column type from the first row in _createMetadataData().
Since vector_size (1024) was stored as a number, all subsequent string values
(embedding_provider, embedding_model_id) and booleans (indexing_complete) were
silently coerced to NaN/0/1, corrupting metadata.

On restart, _getStoredEmbeddingProfile() received NaN values, causing
needsRecreation=true every time — the database was dropped and recreated,
the file-hash cache cleared, and a full re-index triggered on every VS Code reopen.

Store all metadata values as strings to ensure consistent column type.
2026-05-29 00:30:43 +04:00
..
2026-04-24 16:58:05 +02:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00
2026-05-28 19:27:46 +00:00