New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added rate-limit response error message #8826
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8826 +/- ##
===========================================
- Coverage 59.39% 42.21% -17.18%
===========================================
Files 639 632 -7
Lines 98051 95986 -2065
Branches 1386 1390 +4
===========================================
- Hits 58235 40524 -17711
- Misses 36533 52722 +16189
+ Partials 3283 2740 -543
Continue to review full report at Codecov.
|
Is the goal to just error out, or implement exponential backoff? |
I would of thought we'd do automatic backoff in response to this status code. Otherwise we're going to start hard failing a load of deployments that previously would of been fine. |
@EvanBoyle Is there some kind of spec of the service behavior and expectations? Ideally, the service would return |
cc @jkisk who has been driving the service work to provide more detail via https://github.com/pulumi/pulumi-service/issues/6933 My understanding of WAF and our rate limiting is that thresholds are measured over five minute periods, meaning that exponential backoff isn't feasible. I'd expect this to be "just handle the error gracefully and return a clear message to the user about what has happened" but will let Jamie provide more detail here. |
replaced handling in title with error message for more clarity. |
Ok, I've chatted with Evan and Fraser and given that we are planning to initially set this limit at 5x or so our current highest usage, we don't expect this to be hit. There is a cloudwatch alarm attached so the service on call will be aware if it is triggered, and this error message will give useful feedback to the user in that case. There is more to do here when we start passing along 429s from third parties like Github, but at that point we can pass along a custom header to differentiate those errors. |
Description
Added handler for 429 rate limit response from pulumi service.
Fixes #7963
Checklist