github / github/copilot-cli

When new files are being created, GH Copilot CLI often tries to read them first and outputs failed Read operations

未关闭
#2,749 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:terminal-rendering area:tools
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

For many prompts that result in new files being created, the harness first tries to read the still nonexistent files (probably as a safety measure); but instead of that being a hidden/silent operation, the terminal output shows "Read" errors, which makes it seem like the CLI has bugs even though it's expected behavior.

### Affected version

GitHub Copilot CLI 1.0.28

### Steps to reproduce the behavior

1. Run prompts/flows that create new files ('/openspec-propose' is the one I used this time)
2. See the "Read" errors in the terminal output.

### Expected behavior

No "Read" error should appear.

### Additional context

Image

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。