continue icon indicating copy to clipboard operation
continue copied to clipboard

index folder too long for windows

Open Lavaerius opened this issue 6 months ago • 2 comments

Before submitting your bug report

Relevant environment info

- OS: Windows (WSL Dev container)
- Continue version: 1.0.6
- IDE version: VSCode 1.99.3
- Model: n/a
- config:

  
  OR link to assistant in Continue hub:

Description

When attempting to index my codebase in a WSL backed dev container, the indexer fails with a Generic LocalFileSystem error: Unable to create dir error digging in, I think it has to do with the length of the folder being created.

Max limit for windows folders is 260 characters, folder attempted to be created is: vscode-remotedev-container2B7b227265706f7369746f727950617468223a226769744067697465612e6c6f63616c3a7075626c696357616773486f6d652f7267622d6c65642d626f6172642e676974222c22766f6c756d654e616d65223a225f5f554e495155455f5f222c22666f6c646572223a227267622d6c65642d626f617264222c22636c6f6e65496e666f223a7b2275726c546f436c6f6e65223a226769744067697465612e6c6f63616c3a7075626c696357616773486f6d652f7267622d6c65642d626f6172642e676974227d2c22696e7370656374566f6c756d65223a66616c73657dworkspacesrgb-led-boardNONEvectordb_TransformersJsEmbeddingsProviderall-MiniLM-L6-v2500.lance

I attempted to enabled longPathNames, but that appears to have no effect in more recent versions of windows

To reproduce

  1. clone git repo to container volume
  2. witness log error in developer tools logging

Log output


Lavaerius avatar Apr 23 '25 02:04 Lavaerius