Description
Is your feature request related to a problem? Please describe
Coming from #11217 and #3713 we now have the the failure analytics for OpenSearch Gradle Check failures. For more details check the Developer Guide. The next step is to highlight the flaky failures as GitHub Issues so they can be prioritized and fixed. Additionally, when a test fails during the creation of a new PR but is not related to the PR's code changes, this process will help make the contributor aware of the existing flaky test.
Describe the solution you'd like
From the OpenSearch Gradle Check MetricsOpenSearch Gradle Check Metrics dashboard create an issue (with specific format) on failing tests that are part of post merge actions. The failing tests from post merge actions which are executed after the PR is merged are for sure the flaky tests.
Related component
Build
Describe alternatives you've considered
Today the gradle check failure issues are created from https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/gradle-check.yml#L161-L168 which sometimes fails to execute https://github.com/opensearch-project/OpenSearch/actions/runs/9320653340/job/25657907035, so clean up the issues and disable the functionality in the gradle-check.yml.
Additional context
Coming from @dblock #11217 (comment) we should also
- For any failed test, lookup an existing flaky test issue, if it exists, comment.
- For any new failure, highlight it in comments with something like "new flaky test? please check and open one manually".
Metadata
Metadata
Assignees
Labels
Type
Projects
Status