dotnet / dotnet/sdk

Investigate usage of the different CommandResolvers

Open
#45,251 0 comments 0 reactions 0 assignees View on GitHub
Area-Telemetry
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.
Command resolution for non-built-in commands goes through a complex resolution process: https://github.com/dotnet/sdk/blob/a042aeea7cb68f159fd31e446c7794d3d987c36c/src/Cli/dotnet/CommandFactory/CommandResolution/DefaultCommandResolverPolicy.cs#L48-L60

There are a number of resolvers that could apply to a specific command here, and we have no idea which of these are still in use (though we have suspicions). We should do research and/or add telemetry to help us understand which of these modes are in use (and which can be removed).

### Describe the solution you'd like

I'd like to know more about which of these resolvers are used in practice by .NET authors - this would include data about:
* the name of the command being resolved
* the name of the resolver that resolved the command

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.