Skip to content

Retry issues request if receive Gitlab Internal Error

Jennifer Li requested to merge jennli-retry-5xx-error into master

What does this MR do and why?

Resolves the alert raised in https://sentry.gitlab.net/gitlab/triage-ops/issues/4159010/?environment=production

Closes: #1365 (closed)

Graceful handle 500 errors coming from the /issues endpoint when we are searching for previous incidents. There are probably more api calls that would return a 500 error causing a missed notification, I will address the other ones when find them.

Expected impact & dry-runs

These are strongly recommended to assist reviewers and reduce the time to merge your change.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-policies-with-a-dry-run on how to perform dry-runs for new policies.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/doc/reactive/best_practices.md#use-the-sandbox-to-test-new-processors on how to make sure a new processor can be tested.

Action items

Edited by Jennifer Li

Merge request reports