merge-gatekeeper icon indicating copy to clipboard operation
merge-gatekeeper copied to clipboard

Handling/retrying transient network failures

Open franklad opened this issue 1 year ago • 4 comments

Hi everyone,

Sometimes when merge-gatekeeper tries to call GitHub API, GitHub returns 5xx errors or EOF and they tend to be all transient network errors.

Would you be open to adding retries to GitHub API calls? I'm happy to discuss more and add the functionality.

Initial thoughts were adding retry flag to the cli and adding a retry roundTripper to the GitHub client.

franklad avatar May 15 '23 19:05 franklad