NoMethodError: undefined method `id' for nil:NilClass
https://sentry.gitlab.net/gitlab/devgitlaborg/issues/613207/
NoMethodError: undefined method `id' for nil:NilClass
merge_request.rb:1103:in `update_head_pipeline'
update_column(:head_pipeline_id, head_pipeline.id) if head_pipeline_id_changed?
gitlab/metrics/instrumentation.rb:161:in `block in update_head_pipeline'
.measure { super }
gitlab/metrics/method_call.rb:36:in `measure'
retval = yield
gitlab/metrics/instrumentation.rb:161:in `update_head_pipeline'
.measure { super }
update_head_pipeline_for_merge_request_worker.rb:11:in `block in perform'
merge_request.update_head_pipeline
...
(50 additional frame(s) were not displayed)
undefined method `id' for nil:NilClass