github / github/copilot-cli

Output produced exceeding its own read limits

オープン
#3,008 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:tools
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

Copilot generated python commands that printed >150 items from a json with a bunch of fields. This caused output to be redirected to a temp file which then required 5 additional read calls to fully consume.

### Affected version

GitHub Copilot CLI 1.0.36

### Steps to reproduce the behavior

1. Open Copilot CLI with a JSON file containing 100+ records.
2. Ask Copilot to extract and display a summary of all records.
3. Observe the Python command Copilot generates.
4. Check whether the output exceeds the tool's display limit.

### Expected behavior

Copilot should estimate the output size before generating the command. For numerous (150+ json objects) copilot should have the brains to paginate

### Additional context

_No response_

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

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

調査の方向性

まず、100件を超えるレコードを含むJSONファイルと、150件を超える項目を生成する抽出リクエストを使用して、Copilot CLI 1.0.36で問題を再現します。生成されたPythonコマンドの出力が、ツールの表示上限との関係でどのように処理されるかを調査します。大きな結果がページ分割されるか、その他の方法でその上限内に収まり、繰り返し読み取る必要がなくなれば完了です。

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

評価

技術スタック
python
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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