build(deps): bump the go group across 1 directory with 5 updates#20306
Conversation
Bumps the go group with 4 updates in the / directory: [golang.org/x/sys](https://github.com/golang/sys), [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) and [github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager](https://github.com/aws/aws-sdk-go-v2). Updates `golang.org/x/sys` from 0.45.0 to 0.46.0 - [Commits](golang/sys@v0.45.0...v0.46.0) Updates `github.com/aws/aws-sdk-go-v2` from 1.41.7 to 1.41.8 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@v1.41.7...v1.41.8) Updates `github.com/aws/aws-sdk-go-v2/config` from 1.32.18 to 1.32.19 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@config/v1.32.18...config/v1.32.19) Updates `github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager` from 0.2.0 to 0.2.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@v0.2.0...config/v0.2.1) Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.102.0 to 1.102.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.102.0...service/s3/v1.102.1) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-version: 0.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-version: 1.41.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-version: 1.32.19 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager dependency-version: 0.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.102.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go ... Signed-off-by: dependabot[bot] <support@github.com>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
|
The AWS SDK bump is causing unit tests to fail. |
transfermanager v0.2.1 decoupled the multipart-vs-single upload decision from PartSizeBytes into a separate MultipartUploadThreshold option (default 16MiB). Since we only set PartSizeBytes, files between the part size and 16MiB regressed to a single PutObject instead of multipart. Set MultipartUploadThreshold to the part size to preserve the prior behavior, where multipart kicks in above the configured part size. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Arthur Schreiber <arthur@planetscale.com>
Why the unit test failed after this bumpThe Root causeIn v0.2.0, the transfer manager decided between a single r := io.LimitReader(u.in.Body, u.options.PartSizeBytes)
...
if int64(n) < u.options.PartSizeBytes { /* single upload */ }In v0.2.1, that decision moved to a separate r := io.LimitReader(u.in.Body, u.options.MultipartUploadThreshold)
...
if int64(n) < u.options.MultipartUploadThreshold { /* single upload */ }We only set The practical effect beyond the test: any backup file between the part size and 16MiB that used to chunk now uploads single-shot. FixPin o.PartSizeBytes = partSizeBytes
o.MultipartUploadThreshold = partSizeBytesThis restores the prior behavior and respects the operator-facing Diagnosis and fix by Claude Code. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20306 +/- ##
===========================================
- Coverage 69.67% 68.04% -1.63%
===========================================
Files 1614 3 -1611
Lines 216793 435 -216358
===========================================
- Hits 151044 296 -150748
+ Misses 65749 139 -65610
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Bumps the go group with 4 updates in the / directory: golang.org/x/sys, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config and github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager.
Updates
golang.org/x/sysfrom 0.45.0 to 0.46.0Commits
d58dcfaunix: add GPIO constants and structsUpdates
github.com/aws/aws-sdk-go-v2from 1.41.7 to 1.41.8Commits
74c5011Release 2026-05-287d82651Regenerated Clients79c63d9Update endpoints modelb15b3b8Update API model090e469Feat tmv2 parity (#3424)d2133f0credentials/logincreds: create new cache files with 0600 (#3425)38fe976Release 2026-05-27a7d5164Regenerated Clients5b79052Update API model5acd7b4Add SHA-512 auto checksum calculation for S3 (#3422)Updates
github.com/aws/aws-sdk-go-v2/configfrom 1.32.18 to 1.32.19Commits
74c5011Release 2026-05-287d82651Regenerated Clients79c63d9Update endpoints modelb15b3b8Update API model090e469Feat tmv2 parity (#3424)d2133f0credentials/logincreds: create new cache files with 0600 (#3425)38fe976Release 2026-05-27a7d5164Regenerated Clients5b79052Update API model5acd7b4Add SHA-512 auto checksum calculation for S3 (#3422)Updates
github.com/aws/aws-sdk-go-v2/feature/s3/transfermanagerfrom 0.2.0 to 0.2.1Commits
d206334Release 2020-10-2659290c5bump SDK core version and name9984c37update module go.sums36fde8acheckpoint for release metadata2a74240tidy SDK module1aeb416update hand written modules smithy-go depdf7bd9aupdate endpoints5f0f033update api models693e56cinternal/repotools/cmd/makerelative: Support Relative Paths for Transitive De...cb36c8dMerge pull request #851 from aws/r53cust-fixUpdates
github.com/aws/aws-sdk-go-v2/service/s3from 1.102.0 to 1.102.1Commits
74c5011Release 2026-05-287d82651Regenerated Clients79c63d9Update endpoints modelb15b3b8Update API model090e469Feat tmv2 parity (#3424)d2133f0credentials/logincreds: create new cache files with 0600 (#3425)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions