@ file search is almost unusable in huge code base

オープン
#750 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発

調査の方向性

issue ではファイルもテストも特定されていません。依存関係をインストールした状態で、42,906 個および 109,765 個のファイルを含むリポジトリ上で、Linux と zsh を使って @ file-search ワークフローを再現し、その後、既存の検索エントリポイントを追跡してください。検索が報告された数秒単位の遅延やフリーズなしに応答し続ければ完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommandCodeAI/command-code のほかの issue

CommandCodeAI/command-code の issue をすべて見る

似ている issue

CLI の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。