Skip to content

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.

For #343964 (closed).

Edited by Thong Kuah

Merge request reports

Loading