Skip to content

Update query client retry strategy - #55528

Merged
pierrejeambrun merged 1 commit into
apache:mainfrom
astronomer:update-react-query-client-retry-strategy
Sep 11, 2025
Merged

pierrejeambrun merged 1 commit into
apache:mainfrom
astronomer:update-react-query-client-retry-strategy

Conversation

@pierrejeambrun

Copy link
Copy Markdown
Member

Update the retry strategy for front-end request to be more failure tolerant. The current strategy was only retrying once and 500ms after the first failure.

Which means that if you are rate limited, most chances are the only retry we're doing after that will also fail and be rate limited.

We are falling back to the default strategy here which is
retryDelay: (attemptIndex) => Math.min(1000 * 2 ** attemptIndex, 30000),

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Sep 11, 2025
@pierrejeambrun pierrejeambrun changed the title Update query client strategy Update query client retry strategy Sep 11, 2025
@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.0 milestone Sep 11, 2025
@pierrejeambrun
pierrejeambrun merged commit ff5d7f6 into apache:main Sep 11, 2025
@pierrejeambrun
pierrejeambrun deleted the update-react-query-client-retry-strategy branch September 11, 2025 19:06
github-actions Bot pushed a commit that referenced this pull request Sep 11, 2025
(cherry picked from commit ff5d7f6)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-0-test

Status Branch Result
✅ v3-0-test PR Link

pierrejeambrun added a commit that referenced this pull request Sep 11, 2025
(cherry picked from commit ff5d7f6)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
kaxil pushed a commit that referenced this pull request Sep 15, 2025
suman-himanshu pushed a commit to suman-himanshu/airflow that referenced this pull request Sep 17, 2025
Brunda10 pushed a commit to Brunda10/airflow that referenced this pull request Sep 17, 2025
dstandish pushed a commit to astronomer/airflow that referenced this pull request Sep 19, 2025
(cherry picked from commit ff5d7f6)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
(cherry picked from commit 35b4f86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants