Skip to content

fix(deps): update module cloud.google.com/go/storage to v1.62.1 (main) - #21493

Merged
Segflow merged 1 commit into
mainfrom
deps-update/main-cloud.google.comgostorage
Apr 21, 2026
Merged

fix(deps): update module cloud.google.com/go/storage to v1.62.1 (main)#21493
Segflow merged 1 commit into
mainfrom
deps-update/main-cloud.google.comgostorage

Conversation

@renovate-sh-app

@renovate-sh-app renovate-sh-app Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cloud.google.com/go/storage v1.61.3v1.62.1 age confidence

Release Notes

googleapis/google-cloud-go (cloud.google.com/go/storage)

v1.62.1

v1.62.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.


Note

Medium Risk
Updates vendored Google Cloud Storage/IAM clients and adjusts retry/streaming behavior in both gRPC and HTTP paths, which could subtly change object I/O and error handling. Risk is moderate because changes are dependency-driven but touch upload/download, retries, and request metadata injection.

Overview
Updates cloud.google.com/go/storage to v1.62.1 (and related transitive deps like cloud.google.com/go/iam, google.golang.org/genproto/googleapis/api, and otel stdout metric exporter), refreshing the vendored GCS and IAM client code.

The vendored Storage client changes include new parallel upload documentation/behavior updates, improved retry handling (including retries for HTTP2 connection loss and safer response-body cleanup on read retries), and more structured request/feature tracking metadata (adding operation/bucket/object attributes to run() calls and injecting a feature-tracker header for gRPC).

It also refactors gRPC upload stream handling to split send/recv loops and centralize final error selection (pickStreamError), and updates retry hooks to accept an optional retry context.

Reviewed by Cursor Bugbot for commit ffdf568. Bugbot is set up for automated code reviews on this repo. Configure here.

@renovate-sh-app
renovate-sh-app Bot requested a review from a team as a code owner April 9, 2026 16:04
@renovate-sh-app renovate-sh-app Bot added dependencies Pull requests that update a dependency file update-minor labels Apr 9, 2026
@renovate-sh-app

renovate-sh-app Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.42.0 -> v1.43.0
cloud.google.com/go/iam v1.5.3 -> v1.7.0
google.golang.org/genproto/googleapis/api v0.0.0-20260319201613-d00831a3d3e7 -> v0.0.0-20260401024825-9d38bb4040a9
@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch 6 times, most recently from 92fc405 to 162ff5f Compare April 13, 2026 13:22

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Double close of response body in parseReadResponse
    • When handling zero-length reads, parseReadResponse now reassigns res.Body to emptyBody immediately after the explicit close so deferred error cleanup cannot close the original body twice.

Create PR

Or push these changes by commenting:

@cursor push 378c7f9da1
Preview (378c7f9da1)
diff --git a/vendor/cloud.google.com/go/storage/http_client.go b/vendor/cloud.google.com/go/storage/http_client.go
--- a/vendor/cloud.google.com/go/storage/http_client.go
+++ b/vendor/cloud.google.com/go/storage/http_client.go
@@ -1600,6 +1600,7 @@
 	if params.length == 0 {
 		remain = 0
 		body.Close()
+		res.Body = emptyBody
 		body = emptyBody
 	}
 	var metaGen int64

You can send follow-ups to the cloud agent here.

Comment thread vendor/cloud.google.com/go/storage/http_client.go
@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch from 162ff5f to acc4a07 Compare April 13, 2026 19:09

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: pickStreamError doesn't clear sendErr io.EOF like old code
    • Updated pickStreamError to return nil when sendErr is io.EOF so successful stream completion no longer surfaces a spurious EOF error.

Create PR

Or push these changes by commenting:

@cursor push 495b1bdf67
Preview (495b1bdf67)
diff --git a/vendor/cloud.google.com/go/storage/grpc_writer.go b/vendor/cloud.google.com/go/storage/grpc_writer.go
--- a/vendor/cloud.google.com/go/storage/grpc_writer.go
+++ b/vendor/cloud.google.com/go/storage/grpc_writer.go
@@ -1630,5 +1630,8 @@
 	if recvErr != nil && recvErr != io.EOF {
 		return recvErr
 	}
+	if sendErr == io.EOF {
+		return nil
+	}
 	return sendErr
 }

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit acc4a07. Configure here.

return recvErr
}
return sendErr
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pickStreamError doesn't clear sendErr io.EOF like old code

Low Severity

pickStreamError only filters io.EOF from recvErr but not from sendErr. The old inline logic for the resumable and append senders cleared any io.EOF result via if s.streamErr == io.EOF { s.streamErr = nil }. Now, when recvErr is io.EOF (successful completion) and sendErr is also io.EOF (send failed because server already closed stream), the function returns io.EOF instead of nil, potentially surfacing a spurious error for what was a successful stream.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit acc4a07. Configure here.

@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch 11 times, most recently from 29cbe1f to af853a5 Compare April 16, 2026 13:07
@renovate-sh-app renovate-sh-app Bot changed the title fix(deps): update module cloud.google.com/go/storage to v1.62.0 (main) Apr 16, 2026
@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch 3 times, most recently from 5f4ef65 to 5680bba Compare April 17, 2026 10:07

@Segflow Segflow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving: clean dep version bump (cloud.google.com/go/storage → v1.62.1). Changes limited to go.mod, go.sum, and vendor/. All CI checks pass.

@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch from 5680bba to d79b83a Compare April 17, 2026 13:09
@pull-request-size pull-request-size Bot added size/S and removed size/M labels Apr 17, 2026
@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch 7 times, most recently from 89c5aef to d6e6946 Compare April 20, 2026 19:14
| datasource | package                     | from    | to      |
| ---------- | --------------------------- | ------- | ------- |
| go         | cloud.google.com/go/storage | v1.61.3 | v1.62.1 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@renovate-sh-app
renovate-sh-app Bot force-pushed the deps-update/main-cloud.google.comgostorage branch from d6e6946 to ffdf568 Compare April 21, 2026 07:14
@Segflow
Segflow merged commit 289cf2b into main Apr 21, 2026
87 checks passed
@Segflow
Segflow deleted the deps-update/main-cloud.google.comgostorage branch April 21, 2026 09:38
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 size/S update-minor

1 participant