Skip to content

[BUG] Code indexer skips entire workspace when parent directory is hidden (e.g., “.root”) #8600

@yavpungggi

Description

@yavpungggi

Problem (one or two sentences)

When a workspace is located under a hidden parent directory (e.g., C:\Users\….root\MyProject), the codebase indexer performs a full scan but indexes 0 files. Qdrant collection is created successfully, but no points are upserted. The Output panel remains empty or shows only “Indexed – File watcher started”.

Context (who is affected and when)

Users wanting to use Codebase Indexing AND having a workspace located under a parent directory that starts with a dot .

Reproduction steps

  1. Place a workspace under a hidden parent folder (name starts with a dot), e.g.:

C:\Users<user>.root\MyProject

  1. Open that folder in the Extension Development Host (or regular VS Code).
  2. Enable Codebase Indexing and click “Start indexing”.
  3. Observe Qdrant:
  • A collection is created (name derived from workspace path hash).
  • Points remain at 0.
  1. Output panel (Roo Code) shows no scanning logs beyond watcher startup.

Expected result

Indexer should scan files within the workspace and upsert vectors. Qdrant collection should contain > 0 points for any files with supported extensions. Output panel should show “Scanning directory… Found X files” and progress logs.

Actual result

Collection created with 0 points. Output panel remains empty or only shows “Indexed — File watcher started”. No errors shown to the user.

Variations tried (optional)

No response

App Version

3.28.16

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Issue [In Progress]

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions