Skip to content

build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.12 to 1.42.0#482

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/aws/aws-sdk-go-v2-1.42.0
Open

build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.12 to 1.42.0#482
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/aws/aws-sdk-go-v2-1.42.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown

Bumps github.com/aws/aws-sdk-go-v2 from 1.41.12 to 1.42.0.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Dependencies

    • Updated AWS SDK Go v2 from v1.41.12 to v1.42.0.
  • Bug Fixes

    • Improved retry behavior with better throttle-aware backoff handling.
    • Enhanced long-polling operation support.
    • Added retry-after header parsing for more accurate delay calculations.

Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.41.12 to 1.42.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@v1.41.12...v1.42.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 9, 2026
@dependabot dependabot Bot requested a review from dongjiang1989 as a code owner June 9, 2026 10:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 9, 2026
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0e51c10f-5d48-4148-9b6a-d8262985e699

📥 Commits

Reviewing files that changed from the base of the PR and between ddf1cab and b48d40f.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (8)
  • go.mod
  • vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go
  • vendor/github.com/aws/aws-sdk-go-v2/aws/retry/jitter_backoff.go
  • vendor/github.com/aws/aws-sdk-go-v2/aws/retry/middleware.go
  • vendor/github.com/aws/aws-sdk-go-v2/aws/retry/retry.go
  • vendor/github.com/aws/aws-sdk-go-v2/aws/retry/standard.go
  • vendor/github.com/aws/aws-sdk-go-v2/internal/context/context.go
  • vendor/modules.txt

📝 Walkthrough

Walkthrough

AWS SDK v2 upgraded from v1.41.12 to v1.42.0 with a new 2026 retry mode featuring throttle-aware exponential backoff, long-polling support, and refined retry token cost management based on error classification, all gated by the AWS_NEW_RETRIES_2026 environment variable.

Changes

AWS SDK v2 Retry 2026 Mode with Throttle-Aware Backoff and Long-Polling

Layer / File(s) Summary
Module version and context infrastructure
go.mod, vendor/github.com/aws/aws-sdk-go-v2/aws/go_module_metadata.go, vendor/modules.txt, vendor/github.com/aws/aws-sdk-go-v2/internal/context/context.go
AWS SDK v2 dependency bumped to v1.42.0; new context helpers SetIsLongPolling and GetIsLongPolling enable downstream code to track long-polling state per request.
Exponential backoff with 2026 mode and throttle awareness
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/jitter_backoff.go
ExponentialJitterBackoff gains configurable baseDelay, optional throttle checker, and retries2026 mode flag; dual-mode dispatch in BackoffDelay routes to backoffDelay2026 (throttle-aware) or legacy implementation; new 2026 logic computes t_i = b * min(x * 2^i, MAX_BACKOFF) where x becomes 1s for throttled errors, otherwise uses configured baseDelay.
Long-polling retryer wrapper and context support
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/retry.go
New exported AddWithLongPolling function wraps a retryer and overrides IsLongPolling() to return true, marking requests for downstream retry logic.
Standard retryer 2026 configuration and defaults
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/standard.go
StandardOptions extended with Throttles []IsErrorThrottle, ThrottlingRetryCost, and BaseDelay fields; environment-driven mode selection via newRetries2026() chooses token cost strategy (throttle vs timeout) and backoff variant; standardDefaults() returns mode-appropriate configuration including new-mode retry cost of 14 and 50ms default baseDelay.
Middleware token release and retry delay handling
vendor/github.com/aws/aws-sdk-go-v2/aws/retry/middleware.go
In 2026 mode, initial attempt token release is skipped for retries (preserving quota tokens); long-polling quota overages trigger retry delays before proceeding; attempt index passed to RetryDelay shifts by one in new mode; new adjustForRetryAfterHeader helper parses and clamps delays against X-Amz-Retry-After headers.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested labels

size/M

Suggested reviewers

  • dongjiang1989
  • github-actions

Poem

🐰 A hop toward retry perfection in twenty-twenty-six,
With throttle-aware backoffs and long-polling tricks,
The SDK now knows when to wait, when to rush,
Distributing retries with care, no needless gush.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: a dependency bump of github.com/aws/aws-sdk-go-v2 from v1.41.12 to v1.42.0, which is the primary purpose of this PR.
Docstring Coverage ✅ Passed Docstring coverage is 85.71% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/github.com/aws/aws-sdk-go-v2-1.42.0
⚔️ Resolve merge conflicts
  • Resolve merge conflict in branch dependabot/go_modules/github.com/aws/aws-sdk-go-v2-1.42.0

Comment @coderabbitai help to get the list of available commands and usage tips.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant