opensearch-project / opensearch-project/OpenSearch

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

Open
#16,630 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Build enhancement RFC
Dominant language
Java
Stars
13.7k
Forks
3k
Avg merge
2d 23h
Merged PRs (30d)
108

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with jenkins/gradle/gradle-check-flaky-test-issue-creation.jenkinsfile in opensearch-build, especially the issue-creation flow linked in the report. Trace how default labels are assigned and determine how group-specific labels should be identified. Done means newly created AUTOCUT issues receive the appropriate group labels automatically.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.