Skip to content

chore(ai_platform): add PredictionService and V1 acceptance smoke tests - #36728

Open
torreypayne wants to merge 1 commit into
mainfrom
chore/ai-platform-smoke-tests
Open

torreypayne wants to merge 1 commit into
mainfrom
chore/ai-platform-smoke-tests

Conversation

@torreypayne

Copy link
Copy Markdown
Member

Follows up #36720 with live acceptance smoke tests for google-cloud-ai_platform (kept in librarian.yaml).

  • PredictionServiceSmokeTest: tests generate_content and stream_generate_content (gemini-3.1-flash-lite in global) plus embed_content (gemini-embedding-001 in us-central1) across gRPC and REST.
  • SmokeTest: covers DatasetService, EndpointService, JobService, MigrationService, ModelService, and PipelineService list/search RPCs in us-east1 across gRPC and REST.

Verified with rake ci (Ruby 4.0.5) and rake test + live rake smoke_test against helical-zone-771 (Ruby 3.2.11 and 4.0.5).

cc @efevans (b/581894138, b/418022526).

@torreypayne
torreypayne requested review from a team and yoshi-approver as code owners November 16, 2026 19:42
Comment thread librarian.yaml
ruby-cloud-gem-namespace: Google::Cloud::AIPlatform
ruby-cloud-service-override: AiPlatform=AIPlatform
keep:
- acceptance/google/cloud/ai_platform/v1/prediction_service_smoke_test.rb

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.

What is this?

def verify_generate_content transport
client = AcceptanceHelper.client :prediction_service, location: GENERATE_LOCATION, transport: transport
model = client.endpoint_path(
project: AcceptanceHelper.project_id,

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.

Similar to another question in the review, is this necessary? If the project wasn't specified, would the client fill in from ADC?

#
# @return [String]
#
def self.project_id

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.

Is there a reason this is included at the service level?

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.

2 participants