• Patrick Bajao's avatar
    Handle git errors when cleaning up MR refs · 5f1c3ce8
    Patrick Bajao authored
    Gitlab::Git::Repository::GitError and Gitlab::Git::CommandError
    errors can get raised when trying to cleanup MR refs. This will
    result to the worker being retried and move to dead queue when
    failed after the retry limit.
    
    We don't need to retry in this case as the job will be scheduled
    again when picked up by `ScheduleMergeRequestCleanupRefsWorker`
    that runs every minute via sidekiq cron.
    5f1c3ce8
pb-handle-git-errors-cleanup-refs.yml 95 Bytes