Skip to content

feat(clients): enable 2026 new retry behavior by default - #8413

Merged
Alan4506 merged 2 commits into
mainfrom
retries-2026-default
Nov 10, 2026
Merged

Alan4506 merged 2 commits into
mainfrom
retries-2026-default

Conversation

@Alan4506

@Alan4506 Alan4506 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Removes the aws-sdk-js-v3 side of the AWS_NEW_RETRIES_2026 opt-in added in #7922. @smithy/core 3.40.0 enables the 2026 retry behavior by default and makes Retry.v2026 a readonly true, so the remaining opt-in code is dead code.

The setFeature.ts env var read, the Retry.v2026 toggling in the retry-customization and SQS long-poll specs, and the DynamoDB snapshot change (max=3 to max=4) were already removed in #8415 because they did not compile or pass against @smithy/core 3.40.0. This PR removes what is left.

Changes

  • AddRetryCustomizations.java: the DynamoDB and DynamoDB Streams defaults (4 attempts, 25 ms base delay) are emitted directly instead of behind Retry.v2026.
  • Generated code (the second commit): client-dynamodb and client-dynamodb-streams regenerated; the Retry import and the Retry.v2026 ? … : … expressions are gone. No snapshot changes.
  • Tests: retry.integ.spec.js and its test:temp:temp:retry script removed (they asserted that the env vars set the flag); the browser test bundle no longer re-exports Retry.

Testing

Related

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts) or E2E tests.
    • It's not a feature.
  • My E2E tests are resilient to concurrent i/o.
    • I didn't write any E2E tests.
  • I added access level annotations e.g. @public, @internal tags and enabled doc generation on the package. Remember that access level annotations go below the description, not above.
    • I didn't add any public functions.
  • Streams - how do they work?? My WebStream readers/locks are properly lifecycled. Node.js stream backpressure is handled. Error handling.
    • No streams here.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Alan4506
Alan4506 force-pushed the retries-2026-default branch from 01aa610 to d0967dc Compare November 10, 2026 15:33
@Alan4506
Alan4506 marked this pull request as ready for review November 10, 2026 15:41
@Alan4506
Alan4506 requested a review from a team as a code owner November 10, 2026 15:41
@Alan4506 Alan4506 changed the title chore(clients): remove the 2026 retry opt-in feat(clients): enable 2026 new retry behavior by default Nov 10, 2026
@Alan4506
Alan4506 merged commit 4123c92 into main Nov 10, 2026
11 checks passed
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.

4 participants

⌂ 换网址