Repository navigation
feat(query-core)!: add jitter to default retry delays - #12675
Conversation
🦋 Changeset detectedLatest commit: 714321f The changes in this PR will be included in the next version bump. This PR includes changesets to release 25 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
View your CI Pipeline Execution ↗ for commit 714321f
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview23 package(s) bumped directly, 2 bumped as dependents. 🟥 Major bumps
|
size-limit report 📦
|
🎯 Changes
Randomize the default retry delay to spread out retries when many requests fail at once. Each retry waits a random interval from 10 ms through the existing exponential backoff limit. Custom
retryDelayvalues still apply as configured.This changes the default timing in v6. The retry guide shows how to keep the v5 schedule. Follows up on #9390.
✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.The timing test failed on the original
query-v6code and passed with this change. Core checks, all seven adapter test suites, and the docs link check passed. The fulltest:prrun stopped after package validation errors, a Devtools timeout, and a Next.js example that could not resolvepokeapi.co. Core package validation and the Devtools test passed on separate reruns. Preview bundle size is pending.🚀 Release Impact