CommandCodeAI / CommandCodeAI/command-code
@ file search is almost unusable in huge code base
まだ誰も着手していません。
- 主要言語
- 言語のデータがありません
- スター
- 4k
- フォーク
- 350
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Summary
Use "@" to start a file search, it will almost always freeze in large code base. This issue lasts for a long time since I start to use cmdc.
I tested this in two repos, one of it has 42906 files and one of it has 109765 files, the "@" search works but delay like 3-5 seconds on the 42906 one, and will get stuck on the 109765 one.
It seems the solution to file search is not properly implemented in this tool. Switch to codex or claude-code, both of them works seamlessly with "@" file search. Also I believe the current implementation does not ignore some common dependency paths or cache folders.
Expected Behavior
File search works and should be fast
Actual Behavior
File search gets really slow with large code base, and will stuck with huge code base.
Steps to reproduce the issue
Try check out a big mono repo, and install the dependencies fully, then run the file search worfflow.
Command Code Version
1.32.1
Operating System
Linux
Terminal/IDE
No response
Shell
zsh
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue ではファイルもテストも特定されていません。依存関係をインストールした状態で、42,906 個および 109,765 個のファイルを含むリポジトリ上で、Linux と zsh を使って @ file-search ワークフローを再現し、その後、既存の検索エントリポイントを追跡してください。検索が報告された数秒単位の遅延やフリーズなしに応答し続ければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli, performance, search
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100