这是indexloc提供的服务,不要输入任何密码
Skip to content

build(sdk): update storage SDK to latest [WIP] #3548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meet2mky
Copy link
Collaborator

Updates the GCS SDK to HEAD of main in preparation for the release of storage/v1.56.0

Please ensure your PR title follows the format:

type(scope): subject

Example:
feat(api): add user login endpoint

Description

Link to the issue in case of a bug fix.

Testing details

  1. Manual - NA
  2. Unit tests - NA
  3. Integration tests - NA

Any backward incompatible change? If so, please explain.

@meet2mky meet2mky added execute-perf-test Execute performance test in PR execute-integration-tests Run only integration tests execute-integration-tests-on-zb To run E2E tests on zonal bucket. labels Jul 18, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @meet2mky, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a comprehensive update of the project's Go module dependencies. The main objective is to bring the Google Cloud Storage (GCS) SDK to its latest development version, which necessitates a cascade of updates across other related Google Cloud Go modules, OpenTelemetry libraries, and various golang.org/x packages. This ensures the project is aligned with the most recent dependency versions, paving the way for future GCS SDK releases.

Highlights

  • Core SDK Update: The primary change involves updating the cloud.google.com/go/storage SDK from v1.55.0 to a pre-release version v1.55.1-0.20250717211807-310da0fabf15. This is in preparation for the upcoming storage/v1.56.0 release.
  • Google Cloud Go Modules Updates: Several other Google Cloud Go SDKs have been updated, including cloud.google.com/go/auth (to v0.16.3), cloud.google.com/go/secretmanager (to v1.15.0), google.golang.org/api (to v0.242.0), and google.golang.org/grpc (to v1.73.0), along with various google.golang.org/genproto packages.
  • OpenTelemetry and Standard Library Updates: Numerous OpenTelemetry-related dependencies (e.g., go.opentelemetry.io/otel, go.opentelemetry.io/contrib/detectors/gcp) and core Go standard library extensions (golang.org/x/net, golang.org/x/sync, golang.org/x/sys, golang.org/x/text, golang.org/x/time, golang.org/x/crypto) have been bumped to their latest versions.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several dependencies, most notably cloud.google.com/go/storage to a pre-release version. Such changes can introduce unexpected behavior or breaking changes.

The pull request description states that no unit or integration tests were run. It is critical to run the full test suite to ensure that these dependency updates do not break existing functionality. Please run all tests and confirm they pass before this PR is considered for merging.

cloud.google.com/go/storage v1.55.0
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.52.0
cloud.google.com/go/secretmanager v1.15.0
cloud.google.com/go/storage v1.55.1-0.20250717211807-310da0fabf15

Choose a reason for hiding this comment

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

medium

Using a pseudo-version for cloud.google.com/go/storage pins the dependency to a specific commit that is not a stable release. This can introduce instability and make dependency management difficult for consumers of this project.

While this might be acceptable for a Work-In-Progress PR, please ensure this is updated to a stable, tagged release (e.g., v1.56.0) before this PR is merged.

@meet2mky meet2mky force-pushed the tritoneupdate-sdk-v1.56.0 branch from cd193b6 to 37952dd Compare July 18, 2025 18:33
Copy link

codecov bot commented Jul 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.78%. Comparing base (16cb987) to head (37952dd).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3548      +/-   ##
==========================================
+ Coverage   79.74%   79.78%   +0.04%     
==========================================
  Files         141      141              
  Lines       18931    18931              
==========================================
+ Hits        15096    15105       +9     
+ Misses       3325     3318       -7     
+ Partials      510      508       -2     
Flag Coverage Δ
unittests 79.78% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests execute-integration-tests-on-zb To run E2E tests on zonal bucket. execute-perf-test Execute performance test in PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant