Skip to content

Add the "type label nudger" processor

David Dieulivol requested to merge 988-add_type_label_nudger_processor into master

Context

Relates to #988 (closed)

What's in this MR?

What is looks like

Screenshot_2022-05-18_at_09.54.03

Verify it locally

First test

  • git checkout 988-add_type_label_nudger_processor
  • Change the reaction time from 300 to 3
  • Build/Run triage-ops locally with a local GitLab instance
  • In an existing MR, Remove all work type labels
  • A discussion should pop up in the MR, telling you to add a work type label.
  • Add a work type label: the discussion should resolve itself

Second test

  • git checkout 988-add_type_label_nudger_processor
  • Change the reaction time from 300 to 20
  • Build/Run triage-ops locally with a local GitLab instance
  • In an existing MR, Remove all work type labels
  • After 20 seconds, a discussion should pop up in the MR, telling you to add a work type label.
  • Delete that discussion
  • Delete any label from the MR, and add a work type label in the next 20 seconds: /label ~"type::bug"
    • No new discussion should pop up
Edited by David Dieulivol

Merge request reports