You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This affects users on Windows using local embeddings who encountered an error while creating the index. It prevents them from finishing the indexing process, but they can use the partially completed index for queries.
Repro steps:
Open a repo that doesn't have embeddings and start a chat.
In the enhanced context selector, enable embeddings.
Kill the cody-engine process, hanging the embeddings indexing process and leaving a half-completed index.
Reload the window and start a chat. The status bar item will appear warning you the index is incomplete.
Click, then select Continue Indexing.
An "os error 5" will result.
Expected behavior
Expected behavior: Indexing should continue.
Actual behavior: "os error 5" and repeated attempts to continue indexing say the index cannot be found.
Additional context
This bug is specific to Windows. cody-engine dropping the old index isn't fast/coordinated enough to prevent a sharing violation.
cody-engine drops the loaded index before trying to resume indexing it, but this should be better coordinated. The index file can be opened in a sharing mode in the first instance and reopened in exclusive mode to update it.
The text was updated successfully, but these errors were encountered:
Version
Main f7cb9e5
Describe the bug
This affects users on Windows using local embeddings who encountered an error while creating the index. It prevents them from finishing the indexing process, but they can use the partially completed index for queries.
Repro steps:
An "os error 5" will result.
Expected behavior
Expected behavior: Indexing should continue.
Actual behavior: "os error 5" and repeated attempts to continue indexing say the index cannot be found.
Additional context
This bug is specific to Windows. cody-engine dropping the old index isn't fast/coordinated enough to prevent a sharing violation.
cody-engine drops the loaded index before trying to resume indexing it, but this should be better coordinated. The index file can be opened in a sharing mode in the first instance and reopened in exclusive mode to update it.
The text was updated successfully, but these errors were encountered: