Only retry on network error on suggested reviewers
We would like to track only network errors when calling the suggested reviewers client. These types of errors will deplete the error budget. Other application errors that are deep in the stack, that are not network-related are not retriable but will be tracked and reported internally in the suggested reviewers monitoring infrastructure.
显示
- ee/app/workers/merge_requests/fetch_suggested_reviewers_worker.rb 8 个添加, 0 个删除...orkers/merge_requests/fetch_suggested_reviewers_worker.rb
- ee/lib/gitlab/applied_ml/errors.rb 1 个添加, 0 个删除ee/lib/gitlab/applied_ml/errors.rb
- ee/lib/gitlab/applied_ml/suggested_reviewers/client.rb 7 个添加, 0 个删除ee/lib/gitlab/applied_ml/suggested_reviewers/client.rb
- ee/spec/lib/gitlab/applied_ml/suggested_reviewers/client_spec.rb 14 个添加, 2 个删除.../lib/gitlab/applied_ml/suggested_reviewers/client_spec.rb
- ee/spec/workers/merge_requests/fetch_suggested_reviewers_worker_spec.rb 28 个添加, 2 个删除...s/merge_requests/fetch_suggested_reviewers_worker_spec.rb
加载中
想要评论请 注册 或 登录