Build repository stuck with importing in progress
This may relate to gitlab-com/infrastructure#2911. !10207 (merged) was supposed to mark stuck imports as failed, but https://gitlab.com/gitlab-org/build/omnibus-mirror/redis_exporter has been stuck for a while:
irb(main):009:0> proj = Project.find_by_full_path('gitlab-org/build/omnibus-mirror/redis_exporter')
=> #<Project id:2715423 gitlab-org/build/omnibus-mirror/redis_exporter>
irb(main):010:0> proj.import_jid
=> "c2b5896ecf0083b8c38aea8f"
irb(main):011:0> Gitlab::SidekiqStatus.completed_jids([proj.import_jid])
=> ["c2b5896ecf0083b8c38aea8f"]
irb(main):012:0> proj.import_status
=> "scheduled"
/cc: @tiagonbotelho, @jameslopez