-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Maintainer approval check #11378
Maintainer approval check #11378
Conversation
❌ Gradle check result for ad5276a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Compatibility status:Checks if related components are compatible with change 58c7cab Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/sql.git] |
❕ Gradle check result for 4183a4c: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11378 +/- ##
============================================
- Coverage 71.37% 71.36% -0.01%
+ Complexity 59102 59071 -31
============================================
Files 4893 4893
Lines 277754 277755 +1
Branches 40356 40356
============================================
- Hits 198242 198222 -20
+ Misses 63066 63060 -6
- Partials 16446 16473 +27 ☔ View full report in Codecov by Sentry. |
❌ Gradle check result for 58c7cab: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 58c7cab: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-11378-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 87b30118673db54611078b3a8aaede20082ff59a
# Push it to GitHub
git push --set-upstream origin backport/backport-11378-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]>
Backport of 87b3011 from opensearch-project#11378 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]>
Backport of 87b3011 from opensearch-project#11378 Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]>
@prudhvigodithi (CC @opensearch-project/admin) Since the check is now available an running in 1.3, 2.x and main. Could you make the following change to the branch protection on OpenSearch?
|
@peternied I have just updated the rule with the changes you mentioned. |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-1.x 1.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-1.x
# Create a new branch
git switch --create backport/backport-11378-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 87b30118673db54611078b3a8aaede20082ff59a
# Push it to GitHub
git push --set-upstream origin backport/backport-11378-to-1.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-1.x Then, create a pull request where the |
Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> (cherry picked from commit 87b3011)
Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> (cherry picked from commit 87b3011)
Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Peter Nied <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Implements proposal from #10613 (comment)
This is a new approval check that effectively doubles as the existing CODEOWNERS checks on this repository - which will allow that code owners check to be removed in favor of this one.
This check pulls the list of maintainers from GitHub repository settings. This also codifies the number of approvals needed in the repository in the event we increase or alter these requirements.
UX when PRs are blocked:
Example workflow:
https://github.com/peternied/OpenSearch-1/actions/runs/7026869463/job/19120342204?pr=138
Rollout plan:
After this PR has been merged, and been broadly accepted, a repository admin will change the required checks to include this workflow - this prevents changes from being merged even if this check isn't passing. Then the code owners file can be updated so maintainers can direct the kinds of changes they would like to be notified about.
Related Issues
Check List
New functionality includes testing.All tests passNew functionality has been documented.New functionality has javadoc addedPublic documentation issue/PR createdBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.