Skip to content

Fix retry logic in large github import spec

Andrejs Cunskis requested to merge andrey-fix-retry into master

What does this MR do and why?

Because of Faraday::Response::RaiseError middleware, final errors that are raised are the Faraday class errors so these errors need to be defined in the retry middleware, not the original ones.

This fixes retry not triggering correctly on github timeouts and server errors.

MR acceptance checklist

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

Merge request reports