imjohnbo/workflow-reports-action

Chore: gracefully fail upon rate limit or bad API response

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Problem statement: this action should gracefully fail if API responses do.

Describe the solution you'd like
Exponential backoff retry when receiving 400 or 500 API responses.

If rate limit is encountered (X-RateLimit-Remaining = 0), generate report(s) with the data already collected and gracefully fail.