Track job status for ImportRepositoryWorker
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.
Showing
Please register or sign in to comment