• Qingyu Zhao's avatar
    Add retry logic for post import action · ce8af174
    Qingyu Zhao authored
      - migration script to add `source` to import failure table. Initially
        table `import_failures` is designed to save import failures for
        `build relation` action. Now we also want to save exceptions from
        `merge_requests.set_latest_merge_request_diff_ids!` action. So add a
        new column to record the `source` of the failure.
      - add retry logic for set_latest_merge_request_diff_ids
      - change with_try and log_import_failure signature to keyword args
    ce8af174
schema.rb 256 KB