Skip to content

Mark all remaining Direct transfer workers as idempotent

Max Fan requested to merge 382498-mark-import-worker-idempotent into master

What does this MR do and why?

Making remaining delayed jobs as idempotent! after caching strategies have been implemented

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. Run import via direct transfer
  2. Restart the sidekiq worker along the way
  3. Import should still complete successfully
    1. You can check to see if there's any errors by going to the history page: http://gdk.test:3000/import/bulk_imports/history
  4. To test sidekiq failures, insert raise StandardError in either the worker or pipelines. After the worker retries 3 times, it'll log the error as well as insert into bulk_import_failures

MR acceptance checklist

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

Related to #382498 (closed)

Edited by Max Fan

Merge request reports