Skip to content

get_all_potential_task_ids_from_mr: Handle missing last_commit

Ahmon Dancy requested to merge main-If3803e7a80dbd4c0d8ab0a3685db1cec0ce7d5d9 into main

It is possible for a merge request to be created without any
associated commits (for example if the source branch does not exist
yet). This is a normal scenario for merge requests created by
GerritLab, so handle it gracefully.

Merge request reports