Fix use notes instead of threads

What does this MR do and why?

Fixes the GitLab bot creating resolvable discussion threads instead of simple notes when thanking users for labeling merge requests. This prevents merge requests from being blocked by unresolved bot threads

Implementation details

  • Added create_note method to GitlabRestService: Uses /notes endpoint instead of /discussions to create simple comments
  • Added create_note wrapper to ManageableConcern: Maintains same interface and error handling as start_thread
  • Updated ManageMergeRequestController: Changed label action to use create_note instead of start_thread

To Do

  • Add tests

/cc @leetickett-gitlab

Closes #192 (closed)

Edited by Harshith

Merge request reports

Loading