Tomas Moreno

04/18/2023, 2:41 PM
hello everyone! we had a github hiccup this morning and a couple of our flows on prefect 1.0 failed with this error
Failed to load and execute Flow's environment: GithubException(500, None, {'server': '<|>', 'date': 'Tue, 18 Apr 2023 09:31:20 GMT', 'content-type': 'application/json; charset=utf-8', 'content-length': '0', 'x-oauth-scopes': 'repo', 'x-accepted-oauth-scopes': '', 'x-github-media-type': 'github.v3; format=json', 'x-github-api-version-selected': '2022-11-28', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4983', 'x-ratelimit-reset': '1681812079', 'x-ratelimit-used': '17', 'x-ratelimit-resource': 'core', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'access-control-allow-origin': '*', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'x-frame-options': 'deny', 'x-content-type-options': 'nosniff', 'x-xss-protection': '0', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', 'content-security-policy': "default-src 'none'", 'vary': 'Accept-Encoding, Accept, X-Requested-With', 'x-github-request-id': '95E0:996D:446E:471F:643E6367'})
Is there any good way to retry these failures? if we put a flow level retry but the flow fails to download, is prefect aware of the retries in the flow?