github / github/copilot-cli

Copilot CLI output truncation when running shell command ! aspire run – Aspire Dashboard URL inconsistently missing

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

描述

### Describe the bug

When running !aspire run (using ! to execute the command directly in the shell) inside Copilot CLI, the command output is inconsistently displayed. In some executions, important trailing lines; especially the Aspire Dashboard URL are missing from the displayed output.
This behavior is inconsistent: the same command in the same repository sometimes shows the full output (including the dashboard URL) and sometimes truncates it early. Because the command is executed directly in the shell via !, this appears to be an output rendering or streaming issue within Copilot CLI rather than an Aspire CLI issue.
When the dashboard URL is not shown, I have to open VS Code and retrieve it via the Aspire extension, which breaks the CLI-first workflow.

### Affected version

GitHub Copilot CLI 1.0.12

### Steps to reproduce the behavior

1. Open Copilot CLI
2. Navigate to an Aspire-based project
3. !aspire run
4. Stop and re-run the command multiple times

Image

### Expected behavior

The full shell output from aspire run is consistently displayed, including:

AppHost project path
Aspire Dashboard URL
Logs path

Image

### Additional context

Image
Image

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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