Skip to content

Add AUTO scenario support for Dataproc batches autotuning.#16860

Merged
shuyama1 merged 2 commits intoGoogleCloudPlatform:mainfrom
devanshikhatsuriya:devanshik-autotuning-auto
Mar 30, 2026
Merged

Add AUTO scenario support for Dataproc batches autotuning.#16860
shuyama1 merged 2 commits intoGoogleCloudPlatform:mainfrom
devanshikhatsuriya:devanshik-autotuning-auto

Conversation

@devanshikhatsuriya
Copy link
Copy Markdown
Contributor

@devanshikhatsuriya devanshikhatsuriya commented Mar 30, 2026

Adds AUTO scenario support for Dataproc batches autotuing. Public doc recommends AUTO scenario - https://docs.cloud.google.com/dataproc-serverless/docs/concepts/autotuning#use-dataproc-serverless-autotuning.

dataproc: added value `AUTO` for `runtime_config.autotuning_config.scenarios` field to `google_dataproc_batch` resource

@github-actions github-actions bot requested a review from shuyama1 March 30, 2026 07:56
@github-actions
Copy link
Copy Markdown

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@shuyama1, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@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 ( 3 files changed, 5 insertions(+), 5 deletions(-))
google-beta provider: Diff ( 3 files changed, 5 insertions(+), 5 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 2 insertions(+), 2 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_dataproc_batch (5 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_dataproc_batch" "primary" {
  runtime_config {
    autotuning_config {
      scenarios = # value needed
    }
  }
}

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 83
Passed tests: 76
Skipped tests: 6
Affected tests: 1

Click here to see the affected service packages
  • dataproc

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
  • TestAccDataprocBatch_dataprocBatchAutotuningExample

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDataprocBatch_dataprocBatchAutotuningExample [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 ( 3 files changed, 5 insertions(+), 5 deletions(-))
google-beta provider: Diff ( 3 files changed, 5 insertions(+), 5 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 2 insertions(+), 2 deletions(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 83
Passed tests: 76
Skipped tests: 6
Affected tests: 1

Click here to see the affected service packages
  • dataproc

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
  • TestAccDataprocBatch_dataprocBatchAutotuningExample

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDataprocBatch_dataprocBatchAutotuningExample [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