Skip to content

Comments

ci: update quickstart-bazel build#15986

Merged
scotthart merged 3 commits intogoogleapis:mainfrom
scotthart:v3_quickstart_bazel
Feb 19, 2026
Merged

ci: update quickstart-bazel build#15986
scotthart merged 3 commits intogoogleapis:mainfrom
scotthart:v3_quickstart_bazel

Conversation

@scotthart
Copy link
Member

@scotthart scotthart commented Feb 19, 2026

  • Updates google-cloud-cpp version in WORKSPACE files.

For the quickstarts we build as part of this build:

  • Adds upb patch file to each workspace
  • Adds a MODULE.bazel file
  • Builds each quickstart using both WORKSPACE and MODULE modes.

This change is Reviewable

@scotthart scotthart requested review from a team as code owners February 19, 2026 18:10
@gemini-code-assist
Copy link

Summary of Changes

Hello @scotthart, 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 significantly updates the Bazel build configuration for quickstart examples. It upgrades the google-cloud-cpp dependency to version 3.1.0 and introduces comprehensive support for Bazel's Bzlmod system by adding MODULE.bazel files and associated build configurations. The continuous integration process has also been enhanced to validate quickstarts against both WORKSPACE and MODULE build approaches, ensuring compatibility and future-proofing.

Highlights

  • Dependency Update: Updated the google-cloud-cpp version to 3.1.0 across all quickstart WORKSPACE.bazel files.
  • Bazel Module Support: Introduced MODULE.bazel files for quickstarts to enable Bazel Bzlmod, alongside new bazel/BUILD.bazel and bazel/remove_upb_c_rules.patch files.
  • CI Build Enhancements: Modified the CI build script to test quickstarts using both traditional WORKSPACE and modern MODULE Bazel modes.
  • Bazel Configuration Cleanup: Removed outdated Bzlmod-related flags from quickstart .bazelrc files.
Changelog
  • ci/cloudbuild/builds/quickstart-bazel.sh
    • Modified to execute Bazel quickstart builds using both WORKSPACE and MODULE modes with specified Bazel versions.
  • google/cloud/accessapproval/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/accesscontextmanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/advisorynotifications/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/aiplatform/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/alloydb/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/apigateway/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/apigeeconnect/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/apikeys/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/apiregistry/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/appengine/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/apphub/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/artifactregistry/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/asset/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/assuredworkloads/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/auditmanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/automl/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/backupdr/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/baremetalsolution/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/batch/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/beyondcorp/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/bigquery/quickstart/.bazelrc
    • Removed explicit noenable_bzlmod and enable_workspace flags.
  • google/cloud/bigquery/quickstart/MODULE.bazel
    • Added new MODULE.bazel file for Bzlmod support, declaring google_cloud_cpp version 3.1.0.
  • google/cloud/bigquery/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/bigquery/quickstart/bazel/BUILD.bazel
    • Added new BUILD.bazel file with license and default visibility settings.
  • google/cloud/bigquery/quickstart/bazel/remove_upb_c_rules.patch
    • Added new patch file to comment out upb_c_proto_library rules.
  • google/cloud/bigquerycontrol/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/bigtable/quickstart/.bazelrc
    • Removed explicit noenable_bzlmod and enable_workspace flags.
  • google/cloud/bigtable/quickstart/MODULE.bazel
    • Added new MODULE.bazel file for Bzlmod support, declaring google_cloud_cpp version 3.1.0.
  • google/cloud/bigtable/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/bigtable/quickstart/bazel/BUILD.bazel
    • Added new BUILD.bazel file with license and default visibility settings.
  • google/cloud/bigtable/quickstart/bazel/remove_upb_c_rules.patch
    • Added new patch file to comment out upb_c_proto_library rules.
  • google/cloud/billing/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/binaryauthorization/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/certificatemanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/channel/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/chronicle/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/cloudbuild/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/cloudcontrolspartner/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/cloudquotas/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/cloudsecuritycompliance/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/commerce/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/composer/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/compute/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/confidentialcomputing/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/config/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/configdelivery/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/connectors/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/contactcenterinsights/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/container/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/containeranalysis/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/contentwarehouse/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/datacatalog/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/dataform/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/datafusion/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/datamigration/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/dataplex/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/dataproc/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/datastore/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/datastream/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/deploy/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/developerconnect/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/devicestreaming/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/dialogflow_cx/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/dialogflow_es/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/discoveryengine/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/dlp/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/documentai/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/domains/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/edgecontainer/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/edgenetwork/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/essentialcontacts/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/eventarc/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/filestore/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/financialservices/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/functions/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/gkebackup/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/gkeconnect/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/gkehub/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/gkemulticloud/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/gkerecommender/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/iam/quickstart/.bazelrc
    • Removed explicit noenable_bzlmod and enable_workspace flags.
  • google/cloud/iam/quickstart/MODULE.bazel
    • Added new MODULE.bazel file for Bzlmod support, declaring google_cloud_cpp version 3.1.0.
  • google/cloud/iam/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/iam/quickstart/bazel/BUILD.bazel
    • Added new BUILD.bazel file with license and default visibility settings.
  • google/cloud/iam/quickstart/bazel/remove_upb_c_rules.patch
    • Added new patch file to comment out upb_c_proto_library rules.
  • google/cloud/iap/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/ids/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/kms/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/language/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/licensemanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/logging/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/lustre/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/maintenance/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/managedidentities/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/managedkafka/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/memcache/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/memorystore/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/metastore/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/migrationcenter/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/monitoring/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/netapp/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/networkconnectivity/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/networkmanagement/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/networksecurity/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/networkservices/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/notebooks/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/oauth2/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/opentelemetry/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/optimization/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/oracledatabase/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/orgpolicy/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/osconfig/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/oslogin/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/parallelstore/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/parametermanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/policysimulator/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/policytroubleshooter/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/privateca/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/privilegedaccessmanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/profiler/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/publicca/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/pubsub/quickstart/.bazelrc
    • Removed explicit noenable_bzlmod and enable_workspace flags.
  • google/cloud/pubsub/quickstart/MODULE.bazel
    • Added new MODULE.bazel file for Bzlmod support, declaring google_cloud_cpp version 3.1.0.
  • google/cloud/pubsub/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/pubsub/quickstart/bazel/BUILD.bazel
    • Added new BUILD.bazel file with license and default visibility settings.
  • google/cloud/pubsub/quickstart/bazel/remove_upb_c_rules.patch
    • Added new patch file to comment out upb_c_proto_library rules.
  • google/cloud/pubsublite/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/rapidmigrationassessment/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/recaptchaenterprise/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/recommender/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/redis/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/resourcemanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/retail/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/run/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/scheduler/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/secretmanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/securesourcemanager/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/securitycenter/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/securitycentermanagement/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/servicecontrol/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/servicedirectory/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/servicehealth/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/servicemanagement/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/serviceusage/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/shell/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/spanner/quickstart/.bazelrc
    • Removed explicit noenable_bzlmod and enable_workspace flags.
  • google/cloud/spanner/quickstart/MODULE.bazel
    • Added new MODULE.bazel file for Bzlmod support, declaring google_cloud_cpp version 3.1.0.
  • google/cloud/spanner/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/spanner/quickstart/bazel/BUILD.bazel
    • Added new BUILD.bazel file with license and default visibility settings.
  • google/cloud/spanner/quickstart/bazel/remove_upb_c_rules.patch
    • Added new patch file to comment out upb_c_proto_library rules.
  • google/cloud/speech/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/sql/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/storage/quickstart/.bazelrc
    • Removed explicit enable_workspace flag.
  • google/cloud/storage/quickstart/MODULE.bazel
    • Updated google_cloud_cpp dependency from 3.0.0-rc0 to 3.1.0 and changed the module name from storage-quickstart to quickstart.
  • google/cloud/storage/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/storage/quickstart/bazel/BUILD.bazel
    • Added new BUILD.bazel file with license and default visibility settings.
  • google/cloud/storage/quickstart/bazel/remove_upb_c_rules.patch
    • Added new patch file to comment out upb_c_proto_library rules.
  • google/cloud/storagebatchoperations/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/storagecontrol/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/storageinsights/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/storagetransfer/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/support/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/talent/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/tasks/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/telcoautomation/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/texttospeech/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/timeseriesinsights/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/tpu/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/trace/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/translate/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/universe_domain/demo/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/video/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/videointelligence/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/vision/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/vmmigration/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/vmwareengine/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/vpcaccess/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/webrisk/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/websecurityscanner/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/workflows/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
  • google/cloud/workstations/quickstart/WORKSPACE.bazel
    • Updated google_cloud_cpp dependency from 2.42.0 to 3.1.0.
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 by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

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 pull request 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 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. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

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 the Bazel build process for quickstarts. The changes include updating the google-cloud-cpp dependency to version 3.1.0 in all WORKSPACE files, and enabling builds with both WORKSPACE and MODULE (bzlmod) modes for a subset of quickstarts. This is achieved by modifying the CI build script to invoke Bazel with different flags and versions, and by adding MODULE.bazel files and other necessary configurations to the relevant quickstart directories. The changes are extensive but consistent and look correct. This is a good improvement to ensure Bazel compatibility with both dependency management systems.

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.63%. Comparing base (49d1dcf) to head (f43ce48).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15986   +/-   ##
=======================================
  Coverage   92.63%   92.63%           
=======================================
  Files        2334     2334           
  Lines      214633   214633           
=======================================
+ Hits       198817   198832   +15     
+ Misses      15816    15801   -15     

☔ 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.

@scotthart scotthart merged commit 76d0a56 into googleapis:main Feb 19, 2026
53 of 61 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.

2 participants