Sitelet https://github.com/googleapis/google-cloud-java/pull/14995
Skip to content

chore: remove real-GCP integration tests from pure generated GAPIC libraries - #14995

Open
blakeli0 wants to merge 2 commits into
googleapis:mainfrom
blakeli0:chore/remove-pure-gapic-its
Open

blakeli0 wants to merge 2 commits into
googleapis:mainfrom
blakeli0:chore/remove-pure-gapic-its

Conversation

@blakeli0

@blakeli0 blakeli0 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Remove integration, smoke, and VPC-SC tests that hit live GCP backends from pure generated GAPIC client libraries, along with their per-module .cloud/ Terraform test configs, IT-only test resources/dependencies, and corresponding keep: entries in librarian.yaml.

Motivation

  • Pure GAPIC template generation and GAX runtime behaviors (unary/streaming RPCs, pagination, LROs, retries, dynamic routing headers, HttpJson/gRPC transports, and OpenTelemetry tracing/metrics/structured logging) are already deterministically covered by java-showcase (following the same rationale as ci: optimize unit test CI runtime and rename bulk filter #14029 for unit tests).
  • Out of 257 Librarian-managed libraries, ~235 pure GAPICs already had no live integration tests; the remaining legacy suites primarily exercised backend service quotas, shared CI project state, and ML inference outputs rather than client code, causing frequent CI flakes (e.g., chore(vision): remove flaky ITSystemTest.detectFacesGcsTest #14837) and long Terraform provisioning/test runtimes (GKE clusters, Memorystore Redis instances, etc.) during monorepo-wide Kokoro IT and GraalVM runs.
  • GraalVM native-image testing (-Pnative) continues to run **/*ClientTest.java mock tests across generated modules.

Scope

  • Removed live-GCP ITs (IT*.java, *SmokeTest.java, *VPCServiceControl*Test.java) across pure generated GAPIC modules (java-accessapproval, java-asset, java-compute's ITPaginationTest, java-container, java-dialogflow, java-dialogflow-cx, java-errorreporting, java-iam-admin, java-kms, java-monitoring, java-os-login, java-recommender, java-redis, java-scheduler, java-speech, java-talent, java-tasks, java-texttospeech, java-trace, java-video-intelligence, java-vision, java-websecurityscanner), along with .cloud/ Terraform configs for modules that no longer have ITs (including orphaned .cloud/ dirs in java-dataflow and java-secretmanager).
  • Preserved all integration tests in handwritten and hybrid/combo libraries, plus Compute's golden signals e2e observability test:
    • Dedicated handwritten/combo modules (java-bigquery, java-bigquery-jdbc, java-bigquerystorage, java-bigtable, java-datastore, java-dns, java-firestore, java-logging, java-logging-logback, java-notification, java-pubsub, java-spanner, java-spanner-jdbc, java-storage, java-storage-nio, google-auth-library-java, grpc-gcp-java, java-showcase).
    • GAPIC_AUTO modules that still ship handwritten legacy wrappers or helpers (java-resourcemanager, java-translate, and java-containeranalysis's local ITGrafeasInteropTest).
    • java-compute's ITComputeGoldenSignals (and BaseTest / java-compute/.cloud).

@blakeli0
blakeli0 requested review from a team as code owners November 12, 2026 22:43

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request removes integration tests, smoke tests, VPC Service Control tests, and their associated Terraform configurations, helper scripts, and test dependencies across a large number of Google Cloud Java client modules. Additionally, it cleans up the corresponding pom.xml files and librarian.yaml to reflect these removals. As there are no review comments, I have no feedback to provide.

This branch has not been deployed

No deployments
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.

3 participants