Open ellahathaway opened 2 months ago
With the inclusion of the CreateBaselineUpdatePR
tool, I think all that really needs to happen is to output a better summary of the failing tests. Something like:
Failed! - Failed: 2, Passed: 1, Skipped: 0, Total: 3, Duration: [47s 824ms]
- "##vso[task.logissue type=error;] ArtifactsSizeTest.CompareArtifactsToBaseline: Differences were found in the artifacts sizes"
- "##vso[task.logissue type=error;] SdkContentTests.CompareMsftToSbFileList: Content differences were found"
- "##vso[task.logissue type=debug;] View the updated file(s) in the created PR or in <path to artifacts>"
Related to https://github.com/dotnet/source-build/issues/3910 and https://github.com/dotnet/source-build/issues/4093
When running the SDK diff and license scan tests, extra knowledge is needed to know where to look for the updated files.
Additionally, when doing the SDK diff tests, it can sometimes be difficult to determine which test failed:
One way to improve the UX would be to include the diff in the standard output. Another way would be to clearly summarize which tests failed with clear instructions on how to view the updated files.