dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.73k stars 3.99k forks source link

Fix pipeline run title in Roslyn PR Validation #59501

Open RikkiGibson opened 2 years ago

RikkiGibson commented 2 years ago

It's confusing that runs of Roslyn PR Validation use the title of the latest "base" commit rather than e.g. the title of the PR or PR commit being validated.

AzDO has some special pipeline variables you can set to change the title. We should change the PR Validation yaml to set those variables to something meaningful. This is what code-mirror does. cc @dagood in case you have any tips :)

dagood commented 2 years ago

Sounds like a good idea to me! FWIW, the code-mirror job uses an AzDO logging command, but maybe if this pipeline knows enough info at queue-time, you could use up-front build number formatting so you don't need to wait until a build agent's running to set up a nice-looking build number.