Approvals in Merge Requests for Coverage

2021-05-18 - The same functionality as described in this issue will be available with the completion of #15765 (closed)

Problem to solve

As a director I want my teams to be able to keep moving on critical issues without having to increase test coverage in some cases, so we can ship critical bug fixes/patches quickly.

Intended users

User experience goal(s)

  • A user can enable approvals within an project in the GitLab UI similar to Security Approvals
  • A user who is setup for an approval can override an MR that is blocked by a coverage rule in the Merge Request
  • A user who is working on an MR that is blocked can see who eligible approvers are

Proposal

  • Add a rule type for "coverage" that is triggered when the "enforce_coverage" rule is present in a job.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Yes, since this involves MRs and MR approval it will cross with groupsource code of the Create stage.

Links / references

Edited by James Heimbuck