NoMethodError: undefined method `id' for nil:NilClass
https://sentry.gitlap.com/gitlab/gitlabcom/issues/30547/
NoMethodError: undefined method `id' for nil:NilClass
app/models/merge_request.rb:126:in `block in <class:MergeRequest>'
scope :assigned_to, ->(u) { where(assignee_id: u.id)}
app/services/members/authorized_destroy_service.rb:50:in `unassign_issues_and_merge_requests'
project.merge_requests.opened.assigned_to(member.user).update_all(assignee_id: nil)
lib/gitlab/metrics/instrumentation.rb:156:in `block in unassign_issues_and_merge_requests'
trans.method_call_for(#{label.to_sym.inspect}).measure { super }
lib/gitlab/metrics/method_call.rb:23:in `measure'
retval = yield
lib/gitlab/metrics/instrumentation.rb:156:in `unassign_issues_and_merge_requests'
trans.method_call_for(#{label.to_sym.inspect}).measure { super }
...
(136 additional frame(s) were not displayed)
NoMethodError: undefined method `id' for nil:NilClass