(status: number)
| 632 | // Too Many Requests). Other 4xx responses are deterministic client errors |
| 633 | // and should be surfaced to the caller immediately. |
| 634 | const isRetryableStatus = (status: number): boolean => |
| 635 | status >= 500 || status === 408 || status === 429; |
| 636 | |
| 637 | export const fetchWithRetry = async ( |
| 638 | input: RequestInfo | URL, |