generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Process for Merging PRs with Incomplete Checks
Background
- As of now, only admins can force-merge PRs with failed/incomplete checks
- During release phases, slow/flaky checks block progress
- No clear process exists - teams randomly ping admins for force-merges
- No criteria for which PRs qualify for bypass
Prior issues
In opensearch-project/.github#356, it was suggested to give maintainer certain admin access to force merge PR, which need further discussion. Therefore, I want to expand that into actually having a proper review process.
Similar project
https://lf-onap.atlassian.net/wiki/spaces/DW/pages/16376959/Super+Committers
Proposed Process
-
Requirements before requesting force-merge:
- PR must have 2+ maintainer approvals
- Must show that failures are due to flaky/slow checks, not code issues
- If a test is blocked because of workflow rules, fix the rules first
- Critical fixes only during release phases (2week periods from RC1 generation to release)
- Failed checks must be documented
-
Process:
- PR owner opens ticket through existing github request: https://github.com/opensearch-project/.github/issues/new?template=GITHUB_REQUEST_TEMPLATE.yaml
- PR link
- Which checks failed and why
- Release impact
- 2+ Maintainer reviews and approves bypass request
- 2+ Admin reviews and approves bypass request
- PR owner opens ticket through existing github request: https://github.com/opensearch-project/.github/issues/new?template=GITHUB_REQUEST_TEMPLATE.yaml
-
Tracking:
- Include issue to fix flaky test
Conclusion
We would like this to be a official documented process so it is easier for both the contributors and admins to reference and practice. It will also encourage more fixes to existing flaky test to further lower the percentage of these flakiness going on.
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress
Status
New
Status
🏗 In progress