Skip to content

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

@baronfel

Description

@baronfel

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 #51914, but we have this pattern in several other places in the repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CLIArea-RunIssues relating to `dotnet run`cli-uxIssues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)untriagedRequest triage from a team member

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions