fix: allow .roo folder to be indexed by codebase search #10961
+120
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes issue where .roo folder was excluded from indexing due to blanket hidden directory exclusion.
Problem
The
.roofolder was being excluded from codebase indexing because of the".*"pattern inDIRS_TO_IGNORE, which filters out all hidden directories (those starting with a dot). This prevented worktrees and other environments from indexing important project configuration like:Solution
Modified
isPathInIgnoredDirectory()insrc/services/glob/ignore-utils.tsto explicitly exempt the.roofolder from hidden directory filtering while still blocking other hidden directories like.git,.vscode, etc.Changes
isPathInIgnoredDirectory()to skip.roowhen checking against the".*"pattern.roofolder indexing behaviorTesting
View task on Roo Code Cloud
Important
Exempt
.roofolder from being ignored inisPathInIgnoredDirectory()to allow indexing, with comprehensive test coverage added.isPathInIgnoredDirectory()inignore-utils.tsmodified to exempt.roofrom hidden directory filtering..roofolder and its contents are now indexed, unlike other hidden directories.ignore-utils.spec.tsto verify.roofolder handling..roois not ignored, while other hidden directories are.This description was created by
for c683a17. You can customize this summary. It will automatically update as commits are pushed.