Skip to content

Resolve "diffs_metatdata Returning 500 Error - nil can't be coerced into Integer"

What does this MR do?

If merge_request_diff for some reason isn't contained in @merge_request_diffs, we will see a TypeError (Sentry)

There were no tests for #version_index so I added a few, but they don't cover every eventuality.

Related to #332621 (closed)

Edited by Kerri Miller

Merge request reports

Loading