dotnet / dotnet/roslyn-tools

Automate filing issues based on failing tests in CI runs

Open
#799 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
109
Forks
85
Avg merge
2d 16h
Merged PRs (30d)
1

Description

I have found that the process of opening an informative issue about a test failure in a CI run (particularly a merge PR where the test failures are often due to flakiness) is a little bit cumbersome and full of manual steps. I would like to come up with an automation that we can run on a build with failing tests whose output is one or more URLs, which when visited, opens up the new issue page pre-populated with a title and description. For example, https://github.com/dotnet/roslyn-tools/issues/new?title=My%20issue&body=Some%20description

The issue should contain the name of the test, a link to a failing build, and the Xunit output for the test. For example, dotnet/roslyn#46414.

Ideally we could link to the source code of the failing test as well, but generating a search link from the test name and putting it in the issue description might be sufficient.

/cc @JoeRobich @dibarbet

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.