Skip to content

[PROPOSAL] Process for Merging PRs with Incomplete Checks #74

@peterzhuamazon

Description

@peterzhuamazon

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

  1. 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
  2. Process:

  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In Progress

    Status

    New

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions