NoMethodError: undefined method `value?' for Note::SpecialRole:Module
https://sentry.gitlab.net/gitlab/gitlabcom/issues/880920/
NoMethodError: undefined method `value?' for Note::SpecialRole:Module
Did you mean? values
note.rb:295:in `special_role='
raise "Role is undefined, #{role} not found in #{SpecialRole.values}" unless SpecialRole.value?(role)
note.rb:307:in `specialize_for_first_contribution!'
self.special_role = Note::SpecialRole::FIRST_TIME_CONTRIBUTOR
gitlab/metrics/instrumentation.rb:161:in `block in specialize_for_first_contribution!'
.measure { super }
gitlab/metrics/method_call.rb:36:in `measure'
retval = yield
gitlab/metrics/instrumentation.rb:161:in `specialize_for_first_contribution!'
.measure { super }
...
(130 additional frame(s) were not displayed)
NoMethodError: undefined method `value?' for Note::SpecialRole:Module
Did you mean? values
Seems to be a regression created by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31117/diffs#82f5d4f89a95414eac71b95d163c05ba59183d6d_296_295