Skip to content

Resolve "NoMethodError: undefined method `commit' for nil:NilClass in sidekiq caused by a merge commit in a forked project with upstream project deleted."

What does this MR do?

Fixes the check in ProcessCommitWorker so we can process commits on projects that come from a fork of a deleted project.

Are there points in the code the reviewer needs to double check?

Could the specs be simplified?

Why was this MR needed?

It's a bug!

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #45592 (closed).

Edited by Sean McGivern

Merge request reports