You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally created by @aaronsteers on 2022-02-28 19:14:01
We've moved from a Manager approval model from MRs to a SME/Senior approval model, where we have a more decentralized CODEOWNERS approach and even code owners will require an approval from someone besides themselves.
We also require Pipelines to complete before MRs can be merged.
With this in place, we should talk about the process of force push or force merge - if we want this option and what Gitlab might be able to support.
Does Gitlab support an option to ignore conditions for certain Maintainers/Owners?
Is there are way to set a "Force override" checkbox (or similar) which would allow us in special circumstances to force the merge an unapproved MR or an MR with a failed pipeline? If not an explicit checkmark, then it would be nice if at least there was a warning displayed that you are using your Admin permissions to override the default checks.
Even better if this can also be alerted on as a notification in Slack for audit purposes.
Currently the process would have to be something like this, performed by a team member with Maintainer permissions:
Go into the project settings and disable checks.
Merge the MR with the checks disabled.
Return to project settings and re-enable checks.
Appropriate use cases for Force Merges
The two cases where this would be most likely are:
Responding to an urgent issue at a time when others are logged off.
For example, a release manager in Pacific time or UK time might not have another approver online and would otherwise be blocked on the merge until someone else logs on.
Merging a contributor's MR on a fork that may not have the latest CI tests, or is having other false-positive lint errors or test failures.
We can also just decide to keep things as-is, without any change. The downside is that we may be blocked from resolving certain types of issues, and our mitigations generally would involve an administrator disabling/reenabling checks, as described above.
The text was updated successfully, but these errors were encountered:
Migrated from GitLab: https://gitlab.com/meltano/handbook/-/issues/63
Originally created by @aaronsteers on 2022-02-28 19:14:01
We've moved from a Manager approval model from MRs to a SME/Senior approval model, where we have a more decentralized
CODEOWNERS
approach and even code owners will require an approval from someone besides themselves.We also require Pipelines to complete before MRs can be merged.
With this in place, we should talk about the process of force push or force merge - if we want this option and what Gitlab might be able to support.
Does Gitlab support an option to ignore conditions for certain Maintainers/Owners?
Is there are way to set a "Force override" checkbox (or similar) which would allow us in special circumstances to force the merge an unapproved MR or an MR with a failed pipeline? If not an explicit checkmark, then it would be nice if at least there was a warning displayed that you are using your Admin permissions to override the default checks.
Even better if this can also be alerted on as a notification in Slack for audit purposes.
Cc @DouweM, @tayloramurphy, @afolson as folks who might know the answer here.
Alternatives
Currently the process would have to be something like this, performed by a team member with
Maintainer
permissions:Appropriate use cases for Force Merges
The two cases where this would be most likely are:
Option to Keep As-Is
We can also just decide to keep things as-is, without any change. The downside is that we may be blocked from resolving certain types of issues, and our mitigations generally would involve an administrator disabling/reenabling checks, as described above.
The text was updated successfully, but these errors were encountered: