Skip to content

Auto-merge version increment PRs #1036

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

Open
gaiksaya opened this issue May 16, 2025 · 1 comment
Open

Auto-merge version increment PRs #1036

gaiksaya opened this issue May 16, 2025 · 1 comment

Comments

@gaiksaya
Copy link
Member

Coming from opensearch-project/opensearch-build#5501

TL;DR

To address delays in merging version increment PRs, a new auto-merge feature will be implemented along with automatic re-running of failed checks. Component owners are required to verify their dependencies in the 3.1.0 manifests by May 23, 2024. The auto-merge feature will only be enabled for version increment PRs ensuring proper oversight of version updates while streamlining the release process.

Background

We currently have automation that creates version increment PRs when core engines (OpenSearch and OpenSearch-Dashboards) update their versions. You can see these automations here:

Current Challenge

We've noticed that these version increment PRs often remain unmerged until release managers need to follow up, which can delay the release process.

Proposed Solution

To streamline this process, we're implementing below features:

  1. Auto-merge capability for version increment PRs
    • We will be enabling auto-merge feature for version increment PRs.
    • All checks and requirements need to be met in order to merge the PR along with reviews from code-owners. See important note below.
  2. Automatic and timely re-running of failed checks
    • Re-run failed CI checks in timely manner to see if the dependent artifacts are present.
    • The dependent components will be processed prior to running the CI check for current component.
  3. Enable codeowners reviews for all pull request.
    • Even though all checks are passed, all pull requests needs to be reviewed before merging. Enabling this would ensure than code owners are notified about the pull requests.

Action Item

As a part of this effort, we need to verify the component dependencies listed in the 3.1.0 manifests by May 23, 2024. This review ensures smooth automation of the version increment process:

Please review and confirm:

  1. Your component's dependencies are correctly listed
  2. The dependency order is accurate
  3. No missing dependencies are identified

Important Note

Enabling auto-merge at the repository level is a selective feature:

  • It does NOT automatically enable for all PRs
  • Only maintainers and users with write access can enable auto-merge for specific PRs
  • For more details, see the GitHub documentation on auto-merge

This change will help expedite the release process while maintaining proper oversight of version updates.
Please close this issue once the above action items are completed.

Thank you!

@kaituo
Copy link
Collaborator

kaituo commented May 16, 2025

I confirm:

  • component's dependencies are correctly listed
  • The dependency order is accurate
  • No missing dependencies are identified

@kaituo kaituo removed the untriaged label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants