dangerfile can't traverse GitLab project boundary
Job #3445138 failed for c713737cdc6ca2997f75c18ad35715ffb48688e8.
danger-python
crashed when Backport of MR isc-projects/bind9!7457
was present in the MR description field:
$ Backport of MR isc-projects/bind9!7457 ci -f
There was an error when executing dangerfile.py:
GitlabGetError at line 207: 404 Not found
Stacktrace:
File "dangerfile.py", line 207, in <module>
original_mr = proj.mergerequests.get(original_mr_id)
File "/usr/local/lib/python3.9/dist-packages/gitlab/v4/objects/merge_requests.py", line 486, in get
return cast(ProjectMergeRequest, super().get(id=id, lazy=lazy, **kwargs))
File "/usr/local/lib/python3.9/dist-packages/gitlab/exceptions.py", line 338, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
Failing the build, there is 1 fail.
Feedback: https://gitlab.isc.org/isc-private/bind9/merge_requests/531#note_378750
It seems that danger-python
with the current dangerfile.py
can't traverse the GitLab project boundary from isc-private to isc-projects (and vice versa) and couldn't look for missing isc-private/bind9!531 MR commits that are in the "upstream" !7457 (merged) MR.