Skip to content

Add image_spec support to google_vertex_ai_reasoning_engine#16935

Merged
rileykarson merged 5 commits intoGoogleCloudPlatform:mainfrom
rileykarson:vertex-dockerfile
Apr 6, 2026
Merged

Add image_spec support to google_vertex_ai_reasoning_engine#16935
rileykarson merged 5 commits intoGoogleCloudPlatform:mainfrom
rileykarson:vertex-dockerfile

Conversation

@rileykarson
Copy link
Copy Markdown
Member

@rileykarson rileykarson commented Apr 3, 2026

Nested makefiles regenerates the .tar.gz files so that we capture sources; could probably be made into Bazel rules into the future.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

vertexai: added `spec.source_code_spec.image_spec` support to `google_vertex_ai_reasoning_engine`

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 12 files changed, 243 insertions(+))
google-beta provider: Diff ( 12 files changed, 317 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 45 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 90
Passed tests: 82
Skipped tests: 3
Affected tests: 5

Click here to see the affected service packages
  • vertexai

Action taken

Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineDeveloperConnectSourceExample
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecExample
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecUpdate
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineSourceBasedDeploymentExample
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineSourceUpdate

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineDeveloperConnectSourceExample [Debug log]
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecExample [Debug log]
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineSourceBasedDeploymentExample [Debug log]
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineSourceUpdate [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecUpdate [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 12 files changed, 317 insertions(+))
google-beta provider: Diff ( 12 files changed, 317 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 45 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 90
Passed tests: 86
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • vertexai

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecUpdate

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecUpdate [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

Comment thread mmv1/products/vertexai/ReasoningEngine.yaml Outdated
@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 12 files changed, 317 insertions(+))
google-beta provider: Diff ( 12 files changed, 317 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 45 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 90
Passed tests: 87
Skipped tests: 3
Affected tests: 0

Click here to see the affected service packages
  • vertexai

🟢 All tests passed!

View the build log

@rileykarson rileykarson requested a review from c2thorn April 6, 2026 16:09
Comment on lines +396 to +397
allow_empty_object: true
send_empty_value: true
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This combination seemed to send the right things- we send explicit null when not defined, and explicit empty when defined.

- name: 'buildArgs'
type: KeyValuePairs
send_empty_value: true
required: true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

seems kind of like a weird combination: required, but allowed to be empty. I'd think that it will maybe be empty quite often, when users don't want any additional build arguments (not sure on this, but could be a common case?)
Would it be crazy to allow omitting this and treat it as empty?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Or maybe too much fiddlyness for its worth

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Tested locally and it works- I think I just didn't reverify it with the final settings for the parent.

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 12 files changed, 323 insertions(+))
google-beta provider: Diff ( 12 files changed, 323 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 45 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 90
Passed tests: 84
Skipped tests: 3
Affected tests: 3

Click here to see the affected service packages
  • vertexai

Action taken

Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineDeveloperConnectSourceExample
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecExample
  • TestAccVertexAIReasoningEngine_vertexAiReasoningEngineSourceBasedDeploymentExample

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineDeveloperConnectSourceExample [Debug log]
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineImageSpecExample [Debug log]
TestAccVertexAIReasoningEngine_vertexAiReasoningEngineSourceBasedDeploymentExample [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@rileykarson rileykarson added this pull request to the merge queue Apr 6, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Apr 6, 2026
@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 12 files changed, 324 insertions(+), 14 deletions(-))
google-beta provider: Diff ( 12 files changed, 323 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 45 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 12 files changed, 323 insertions(+))
google-beta provider: Diff ( 12 files changed, 323 insertions(+))
terraform-google-conversion: Diff ( 1 file changed, 45 insertions(+))
Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 94
Passed tests: 90
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • vertexai

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDataSourceVertexAIReasoningEngineQuery_basic

Get to know how VCR tests work

1 similar comment
@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 94
Passed tests: 90
Skipped tests: 3
Affected tests: 1

Click here to see the affected service packages
  • vertexai

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDataSourceVertexAIReasoningEngineQuery_basic

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDataSourceVertexAIReasoningEngineQuery_basic [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDataSourceVertexAIReasoningEngineQuery_basic [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants