Skip to content

Add bulk_import_entity_id to Sidekiq job start/done logs

What does this MR do and why?

This MR updates BulkImports::* import workers to add bulk_import_entity_id to sidekiq job start & done logs, so that it's easier for Import team to debug what happens to a specific entity (either a project or a group) migration.

Mentions #429610 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Start a new Direct Transfer
  2. In sidekiq logs, observe worker logs with job_status: start have meta.bulk_import_entity_id: ...
  3. extra.bulk_import_entity_id: ... for job_status: done logs

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports