dotnet / dotnet/sdk

Improve the user experience when waiting for long-running Target invocations in `dotnet run` and other interactive experiences

Open
#52,016 0 comments 0 reactions 0 assignees View on GitHub
Area-CLI Area-Run cli-ux untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

With these kinds of 'invoke a target to get info' scenarios (`ComputeAvailableDevices` and `ComputeRunArguments`) we potentially wait for an undetermined amount of time. We need to have a more user-friendly experience here:

* if the operation takes more than X time, give the user some signal that we're doing work on their behalf
* potentially enforce some kind of maximal allowed time limit to prevent infinite waits

Noted when reviewing https://github.com/dotnet/sdk/pull/51914, but we have this pattern in several other places in the repo.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.