Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ForceNew on labels field when the dataflow job has type JOB_TYPE_BATCH #9253

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

zli82016
Copy link
Member

@zli82016 zli82016 commented Oct 12, 2023

fixes hashicorp/terraform-provider-google#16159

Added ForceNew to labels field when the dataflow job has type JOB_TYPE_BATCH to match other resources, so effective_labels and labels fields both have ForceNew

Release Note Template for Downstream PRs (will be copied)

dataflow: fixed the bug that the resource update returns error if  only `labels` field has changes for batch `google_dataflow_job`
dataflow: fixed the bug that the resource update returns error if only `labels` field has changes for batch `google_dataflow_flex_template_job`

@modular-magician
Copy link
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.

Terraform GA: Diff ( 2 files changed, 52 insertions(+), 51 deletions(-))
Terraform Beta: Diff ( 3 files changed, 53 insertions(+), 52 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3145
Passed tests 2826
Skipped tests: 316
Affected tests: 3

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
TestAccAlloydbInstance_clientConnectionConfig|TestAccCloudRunService_cloudRunServiceSqlExample|TestAccDataprocClusterIamPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccAlloydbInstance_clientConnectionConfig[Debug log]
TestAccCloudRunService_cloudRunServiceSqlExample[Debug log]
TestAccDataprocClusterIamPolicy[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

@modular-magician
Copy link
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.

Terraform GA: Diff ( 2 files changed, 116 insertions(+), 95 deletions(-))
Terraform Beta: Diff ( 3 files changed, 167 insertions(+), 145 deletions(-))

Copy link
Member

@rileykarson rileykarson left a comment

Choose a reason for hiding this comment

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

Assuming tests pass after that, LGTM!

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3146
Passed tests 2826
Skipped tests: 316
Affected tests: 4

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccAlloydbBackup_alloydbBackupFullExample|TestAccAlloydbCluster_secondaryClusterMandatoryFields|TestAccComputeBackendService_withCdnPolicy|TestAccDataprocJobIamPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccComputeBackendService_withCdnPolicy[Debug log]
TestAccDataprocJobIamPolicy[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccAlloydbBackup_alloydbBackupFullExample[Error message] [Debug log]
TestAccAlloydbCluster_secondaryClusterMandatoryFields[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$
View the build log or the debug log for each test

@rileykarson
Copy link
Member

Those AlloyDB failures are ignorable. They can't succeed right now, and a later commit has turned them off temporarily: hashicorp/terraform-provider-google#16231

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.

Failing test(s): TestAccDataflowJob_withProviderDefaultLabels
3 participants