Hygiene rules are not running for the last 2 weeks
Job #2653204002 failed for 8cdc11b5:
$ bin/run_with_sentry gitlab-triage -r ./plugins/all --debug -f $TRIAGE_POLICY_FILE --token $GITLAB_BOT_AUTOMATED_TRIAGE_TOKEN --source $TRIAGE_SOURCE_TYPE --source-id $TRIAGE_SOURCE_PATH $EXTRA_FLAGS
I, [2022-06-29T00:03:30.397210 #26] INFO -- sentry: ** [Raven] Raven 3.1.1 ready to catch errors
/builds/gitlab-org/quality/triage-ops/vendor/ruby/2.7.0/gems/gitlab-triage-1.23.1/lib/gitlab/triage/command_builders/label_command_builder.rb:24:in `block in ensure_labels_exist!': Label `group::workflow automation` doesn't exist! (Gitlab::Triage::Resource::Label::LabelDoesntExistError)
from /builds/gitlab-org/quality/triage-ops/vendor/ruby/2.7.0/gems/gitlab-triage-1.23.1/lib/gitlab/triage/command_builders/label_command_builder.rb:16:in `each'
from /builds/gitlab-org/quality/triage-ops/vendor/ruby/2.7.0/gems/gitlab-triage-1.23.1/lib/gitlab/triage/command_builders/label_command_builder.rb:16:in `ensure_labels_exist!'
from /builds/gitlab-org/quality/triage-ops/vendor/ruby/2.7.0/gems/gitlab-triage-1.23.1/lib/gitlab/triage/command_builders/label_command_builder.rb:8:in `build_command'
from /builds/gitlab-org/quality/triage-ops/vendor/ruby/2.7.0/gems/gitlab-triage-1.23.1/lib/gitlab/triage/action/comment.rb:44:in `build_comment'
from /builds/gitlab-org/quality/triage-ops/vendor/ruby/2.7.0/gems/gitlab-triage-1.23.1/lib/gitlab/triage/action/comment.rb:32:in `block in act'
from /usr/local/lib/ruby/2.7.0/delegate.rb:83:in `each'
from /usr/local/lib/ruby/2.7.0/delegate.rb:83:in `method_missing'
This was introduced by !1443 (diffs).
Copying my own comment from Slack:
Based on https://about.gitlab.com/handbook/product/categories/#applied-machine-learning-group, it looks like Workflow Automation is a category, not a group. The group name is Applied Machine Learning… Taylor McCaslin (tmccaslin) do you know why the group name was set to workflow_automation here: https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/12fa400f37c2a0c425933a7755387ab9107d6b2a/group-definition.yml#L471? I think we’ll want to set the label: applied_ml here: https://gitlab.com/gitlab-com/www-gitlab-com/-/blob/master/data/stages.yml#L2245-2260 and rename workflow_automation to applied_ml here: https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/12fa400f37c2a0c425933a7755387ab9107d6b2a/group-definition.yml#L471