Faster codebase indexing for huge repos (>500k files)#11398
Open
In-line wants to merge 5 commits intoRooCodeInc:mainfrom
Open
Faster codebase indexing for huge repos (>500k files)#11398In-line wants to merge 5 commits intoRooCodeInc:mainfrom
In-line wants to merge 5 commits intoRooCodeInc:mainfrom
Conversation
In-line
commented
Feb 11, 2026
| @@ -30,7 +30,10 @@ class WorkspaceTracker { | |||
| return | |||
| } | |||
| const tempCwd = this.cwd | |||
| const [files, _] = await listFiles(tempCwd, true, MAX_INITIAL_FILES) | |||
| const files: string[] = [] | |||
| for await (const file of listFiles(tempCwd, true, MAX_INITIAL_FILES)) { | |||
Contributor
Author
There was a problem hiding this comment.
Workspace tracker wasn't optimized currently
Contributor
The latest commit addressed 5 of 6 previous issues. 1 prior issue remains unresolved; no new issues found.
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
51b3cf3 to
522eced
Compare
Contributor
Author
1e73dc7 to
615c3e5
Compare
615c3e5 to
11190c7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

a) This achieves better performance and avoids loading all of the paths in the JS heap (WASM heap is separate)
b) We don't write all of the paths everytime (so no destroying user's SSD)
Good candidate for test is built https://github.com/project-chip/connectedhomeip
Discord: .inline