Conversation
Co-authored-by: rgardler-msft <108765066+rgardler-msft@users.noreply.github.com>
rgardler-msft
left a comment
There was a problem hiding this comment.
Add a test to scenarios/testing that will have a command block that will execute for at least 5 seconds and thus display this spinner.
Co-authored-by: rgardler-msft <108765066+rgardler-msft@users.noreply.github.com>
I've added a test file |
|
This doesn't work because IE is not outputing the response from the command execution to the console until the command returns. Can we capture the streamed response and echo that? |
Co-authored-by: rgardler-msft <108765066+rgardler-msft@users.noreply.github.com>
I've updated the spinner test to address the issue. The new test now captures and displays real-time output with the spinner showing elapsed time between outputs. I created a self-contained Go test program that:
This approach ensures users can see the spinner with elapsed time as it happens during command execution. Commit: d011af0 Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Changes
This PR adds a progress indicator to the shell by enhancing the existing spinner with an elapsed time display. Users will now be able to see how long a command has been running, which improves feedback for long-running operations.
Implementation details
Before
The spinner simply rotated through characters (
-,\,|,/) without indicating how long the command had been running.After
The spinner now shows elapsed time alongside the animation character:
This change provides better user feedback, especially for long-running Azure CLI commands.
Fixes #256.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.