github / github/copilot-cli

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

Open
#2,749 0 comments 1 reaction 0 assignees View on GitHub
area:terminal-rendering area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.