opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.81k stars 1.83k forks source link

[RFC] Automate the addition of group specific label to the created `AUTOCUT` issues #16630

Open prudhvigodithi opened 4 days ago

prudhvigodithi commented 4 days ago

Is your feature request related to a problem? Please describe

Today from the metrics framework we have the AUTOCUT issues created from the identified Gradle Check flaky tests. For more information on flaky tests, please refer to the OpenSearch Developer Guide.

Today we have Flaky Tests with default labels added. Default labels are automatically added, while specific group labels are added manually by maintainers after issue creation, such as in Issue #14408, where Search:Aggregations and Search labels were added later and for some issues the group specific labels are missing.

Describe the solution you'd like

An automation that can take care of adding the group specific labels along with the default labels.

Screenshot 2024-11-13 at 10 20 43 AM

Implementing this automation would reduce the time maintainers spend manually adding group labels and enable specific teams to manage/track their own issues using group labels.

I'm open to discuss some ideas and update the automation to add the group specific labels.

Related component

Build

prudhvigodithi commented 4 days ago

Adding @getsaurabh02 @dblock @andrross @reta @peternied

reta commented 4 days ago

I think we could reliably deduct the label from failing test package, fe: org.opensearch.snapshots.* - > goes to Storage:Snapshots org.opensearch.search.* - > goes to Search ...