Trigger mergeRequestMergeStatusUpdated when discussion is marked or unmarked as resolved
Problem to solve
We want the merge widget to show updated status when MR discussions get all resolved or when an MR discussion gets unresolved.
Proposal
Trigger the mergeRequestMergeStatusUpdated
subscription when:
- all MR discussions get resolved
- an MR discussion gets unresolved
We can trigger the subscription in Discussions#ResolveService
(check for MergeRequest#mergeable_discussions_state?
) and Discussions::UnresolveService
.
Availability and testing
Recommended to add a feature spec for:
- when all discussions get resolved
- when all discussions are resolved, unresolve one discussion
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.