Skip to content

feat: add retryable status codes for error handling#28

Merged
akshaydeo merged 1 commit intomainfrom
04-30-fix_retry_logic_fixes
May 6, 2025
Merged

feat: add retryable status codes for error handling#28
akshaydeo merged 1 commit intomainfrom
04-30-fix_retry_logic_fixes

Conversation

@Pratham-Mishra04
Copy link
Copy Markdown
Collaborator

Improved retry logic for provider requests by defining a set of retryable HTTP status codes (500, 502, 503, 504, 429). The PR modifies the request worker to only retry requests that fail with these specific status codes, rather than retrying all non-Bifrost errors. This provides more precise control over when retries are attempted, focusing on transient server errors and rate limiting issues.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 04-30-fix_retry_logic_fixes branch from 3e29157 to d31f398 Compare April 30, 2025 13:18
@Pratham-Mishra04 Pratham-Mishra04 marked this pull request as ready for review May 1, 2025 07:21
@akshaydeo akshaydeo merged commit f9147ae into main May 6, 2025
1 check passed
@Pratham-Mishra04 Pratham-Mishra04 deleted the 04-30-fix_retry_logic_fixes branch May 6, 2025 04:33
akshaydeo added a commit that referenced this pull request Nov 17, 2025
feat: add retryable status codes for error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants