• Sean McGivern's avatar
    Track job status for ImportRepositoryWorker · 3a617793
    Sean McGivern authored
    Gitlab::GithubImport::Stage::ImportRepositoryWorker is started by
    Gitlab::GithubImport::ParallelImporter. ParallelImporter already sets a
    synthetic job ID to be tracked using Gitlab::Import::SetAsyncJid, so it
    looks like we don't need the status for the ImportRepositoryWorker.
    
    We do, though! ImportRepositoryWorker creates a
    Gitlab::GithubImport::RefreshImportJidWorker for itself, using its own
    job ID. This means that when we schedule ImportRepositoryWorker we need
    to make sure we're tracking its status.
    3a617793
parallel_importer.rb 1.24 KB