Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation process to handle issue transfers between opensearch-project repos. #4505

Open
prudhvigodithi opened this issue Mar 5, 2024 · 4 comments
Labels
enhancement New Enhancement good first issue Good for newcomers

Comments

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Mar 5, 2024

Is your feature request related to a problem? Please describe

Need an automation process to handle transferring of issues between repos. Right now its manual and user tags @opensearch-project/admin group to do the issue transfer, example opensearch-project/security-analytics-dashboards-plugin#964, opensearch-project/observability#1808 (comment), opensearch-project/dashboards-observability#1483 (comment) and someone from @opensearch-project/admin do it manually.

Acceptance Criteria

A very high level process using GitHub App and can be improved based on feedback.

  • Start by creating a generic infra GitHub App (this can be extended for other automations in future).
  • Add a issueTransfer class for this app that can take care of transferring the issue
  • Add a label transfer.
  • GitHub App should respond to this label action (Only maintainers have access to change/add labels per github).
  • The github app should be generic for multiple purposes.
  • Looks for the comment from maintainers that has the destination repo.
  • If no comment then GitHub App should be add a comment as label transfer added but not provided any destination repo.
  • Transfer the issue.
  • If failed add a comment as failed transferring with an error message and then tagging @opensearch-project/admin group.
  • Needs SOP to help maintainers to understand the process.

Describe alternatives you've considered

No response

Additional context

No response

@prudhvigodithi prudhvigodithi added enhancement New Enhancement untriaged Issues that have not yet been triaged good first issue Good for newcomers labels Mar 5, 2024
@peterzhuamazon peterzhuamazon removed the untriaged Issues that have not yet been triaged label Mar 18, 2024
@peterzhuamazon
Copy link
Member

More exit criteria needs to added with different options, due to this can cause a lot of github API calls by the bot.

@peterzhuamazon peterzhuamazon self-assigned this Apr 1, 2024
@peterzhuamazon peterzhuamazon moved this from Backlog to In Progress in OpenSearch Engineering Effectiveness Apr 1, 2024
@peterzhuamazon
Copy link
Member

Similar to #4455 on the fundamental of github app. Add together.

@peterzhuamazon
Copy link
Member

App creation requested.

@peterzhuamazon
Copy link
Member

Test code in progress with probot now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New Enhancement good first issue Good for newcomers
Projects
Status: 📦 Backlog
Development

No branches or pull requests

2 participants