Skip to content

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

@indcoder

Description

@indcoder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions