Import from BitBucket missing pull (merge) requests
Summary
Import from BitBucket Cloud to GitLab.com succeeds but with many or all pull (merge) requests missing.
Details
A customer wrote in originally saying that older PRs (9+ months) imported, but newer ones did not.
As we suspected the import was timing out, they cleaned out many unused branches and attempted the import again.
On the latest attempt, all PRs are missing.
Example Project
Customer report see link in ticket (internal): https://gitlab.zendesk.com/agent/tickets/115145
What is the current bug behavior?
Missing some or all PRs.
What is the expected correct behavior?
All PRs should import as MRs.
Relevant logs and/or screenshots
Searching in the rails production log in Kibana, we did not find any errors.
One of the support engineers pulled this from console (path/id redacted, please see ZD):
[ gprd ] production> p = Project.find_by_full_path('group/project')
=> #<Project id:1234 group/project >
[ gprd ] production> p.import_error
=> nil
[ gprd ] production> p.errors
=> #<ActiveModel::Errors:0x00007fbe9d867c08 @base=#<Project id:1234 group/project>, @messages={}, @details={}>
Output of checks
First attempt with older PRs missing was on 11.8.0-ee.0
Latest attempt with all PRs missing on current, 11.9.0-rc7-ee
Possibly related
- similar report on forum tracker: https://gitlab.com/gitlab-com/support-forum/issues/4324
On a side note, better importer feedback would help as per https://gitlab.com/gitlab-org/gitlab-ce/issues/58920