UN-3235 [FEAT] Add retry with exponential backoff for transient failures#14
Merged
muhammad-ali-e merged 1 commit intomainfrom Feb 18, 2026
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
johnyrahul
approved these changes
Feb 17, 2026
jaseemjaskp
approved these changes
Feb 17, 2026
vishnuszipstack
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
How
axios-retryinto both client constructors with configurable parameters (maxRetries, initialDelay, maxDelay, backoffFactor, jitter)axios.create()instance to isolate retry configonRetrycallback to handle consumed streamstest/retry.test.jswith mocked adapter testsCan this PR break any existing features. If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
maxRetries: 0.Database Migrations
Env Config
LLMWHISPERER_WEBHOOK_URLintest/sample.env(test-only, not required for production)Relevant Docs
Related Issues or PRs
Dependencies Versions
axios-retry@^4.5.0Notes on Testing
npm testpasses with mocked retry tests (no API key needed)LLMWHISPERER_API_KEYis unsetLLMWHISPERER_WEBHOOK_URLis unsetScreenshots
N/A
Checklist
I have read and understood the Contribution Guidelines.