github / github/copilot-cli

Output produced exceeding its own read limits

Aberta
#3,008 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:tools
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### 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_

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing the issue in Copilot CLI 1.0.36 with a JSON file containing 100+ records and an extraction request that produces more than 150 items. Inspect how generated Python command output is handled relative to the tool's display limit; done means large results are paginated or otherwise kept within that limit without requiring repeated reads.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
cli
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.