github / github/copilot-cli

Feature Request: Visual Progress Indicator for File Deletion Operations

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

描述

### Describe the feature or problem you'd like to solve

When Copilot performs long-running file deletion operations (e.g., deleting a directory with ~58,000 files), the UI provides almost no progress feedback. Users only see generic messages like "Still deleting ~58K files. Let me wait for it to finish." and "Waiting up to 180 seconds for command output." There is no indication of how many files have been deleted or how close the operation is to completing.

### Issue

Image

### Proposed solution

Display a real-time progress indicator during file deletion operations. This could include:

- A running count of files deleted vs. total (e.g., "Deleted 12,400 / 57,907 files")
- A progress bar or percentage
- Estimated time remaining based on current deletion rate
- Optionally, a collapsible log showing individual file names as they are deleted

This would give users confidence that the operation is progressing and help them estimate when it will finish, rather than staring at repeated "Waiting up to N seconds" messages with no visibility into actual progress.

---

### Example prompts or workflows

1. **"Delete the _boost_temp directory"** — Copilot deletes ~58K files. Instead of opaque wait messages, the user sees: `Deleting files... 34,200 / 57,907 (59%) — ~45s remaining`
2. **"Clean up all build artifacts in this repo"** — Copilot removes thousands of files across multiple directories. A progress bar updates in real time as each directory is cleared.
3. **"Remove node_modules and reinstall"** — Copilot deletes a large `node_modules` folder. The user sees file-by-file or batch progress instead of a spinning indicator with no context.

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

The issue does not name files, tests, or entry points, so first locate the file-deletion operation and the terminal output that emits the repeated waiting messages. Define the completed behavior against the examples: long-running deletions should show current progress toward a total, with an optional time estimate or file log.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
40/100

把新 issue 发到你的邮箱

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