Fix #5189: Add configurable min/max retry delay bounds #5287
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.
This PR addresses issue #5189 by adding configurable minimum and maximum retry delay bounds to prevent exponential backoff from reaching excessive wait times that severely impact user productivity.
Key changes:
The exponential delay calculation now applies bounds to ensure delays stay within user-configured limits.
Fixes #5189
Important
Adds configurable min/max retry delay settings to control exponential backoff, updating logic, UI, and type definitions.
minRetryDelaySecondsandmaxRetryDelaySecondssettings to control retry delay bounds inTask.ts.Task.tsto respect new min/max bounds (default: 5s min, 100s max).AutoApproveSettings.tsx.AutoApproveSettings.tsx.AutoApproveSettings.tsxto include sliders forminRetryDelaySecondsandmaxRetryDelaySeconds.SettingsView.tsxto handle new settings.minRetryDelaySecondsandmaxRetryDelaySecondsinwebviewMessageHandler.ts.ExtensionMessage.tsandWebviewMessage.tsto include new settings.ExtensionStateContext.tsxto manage new settings.settings.json.This description was created by
for a3c85b5. You can customize this summary. It will automatically update as commits are pushed.