Reduce size of merge request reminder when resolved
What does this MR do and why?
This MR updates TypeLabelNudger
processor to update the previous discussion comment using collapsible markdown sections for the merge request reminder, then resolves the discussion. This helps reduce the visual noise caused by merge request hygiene check, since the comment can now be collapsible if the merge request has proper type/subtype labels.
Closes #1042 (closed)
Screen recordings
-
The discussion comment is now collapsible when resolving
-
The collapsible markdown is removed from the discussion comment when unresolving
Expected impact & dry-runs
These are strongly recommended to assist reviewers and reduce the time to merge your change.
See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-with-a-dry-run on how to perform dry-runs.
Action items
-
(If applicable) Add documentation to the handbook pages for Triage Operations => - (If applicable) Identify the affected groups and how to communicate to them:
-
/cc @ person_or_group
=> -
Relevant Slack channels => -
Engineering week-in-review
-
Edited by Nao Hashizume