Skip to content

workbench: Prevent setting server-managed metadata fields in config #13422

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

Draft
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

bcreddy-gcp
Copy link
Contributor

@bcreddy-gcp bcreddy-gcp commented Mar 21, 2025

yaqs/6794439800423186432

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

workbench: fixed metadata permadiff in `google_workbench_instance` resource.

@github-actions github-actions bot requested a review from ScottSuarez March 21, 2025 00:25
Copy link

github-actions bot commented Mar 21, 2025

Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs.

@melinath, 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.

@bcreddy-gcp bcreddy-gcp changed the title Wbi metadata Fix metadata permadiff for workbench instances Mar 21, 2025
@bcreddy-gcp
Copy link
Contributor Author

@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.

google provider: Diff ( 3 files changed, 13 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 3 files changed, 13 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))

1 similar comment
@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.

google provider: Diff ( 3 files changed, 13 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 3 files changed, 13 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))

@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.

google provider: Diff ( 4 files changed, 15 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 15 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 23
Passed tests: 23
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • workbench

🟢 All tests passed!

View the build log

@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.

google provider: Diff ( 4 files changed, 15 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 15 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 23
Passed tests: 21
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • workbench

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccWorkbenchInstance_updateMetadata [Error message] [Debug log]
TestAccWorkbenchInstance_updateMetadataKey [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
Collaborator

Tests analytics

Total tests: 23
Passed tests: 21
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • workbench

Action taken

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

Get to know how VCR tests work

1 similar comment
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 23
Passed tests: 21
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • workbench

Action taken

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

Get to know how VCR tests work

@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.

google provider: Diff ( 2 files changed, 68 insertions(+), 2 deletions(-))
google-beta provider: Diff ( 2 files changed, 68 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 27 insertions(+))

1 similar comment
@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.

google provider: Diff ( 2 files changed, 68 insertions(+), 2 deletions(-))
google-beta provider: Diff ( 2 files changed, 68 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 27 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 24
Passed tests: 23
Skipped tests: 1
Affected tests: 0

Click here to see the affected service packages
  • workbench
#### Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccWorkbenchInstance_metadataValidation
    🟢 All tests passed!

View the build log

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 24
Passed tests: 23
Skipped tests: 1
Affected tests: 0

Click here to see the affected service packages
  • workbench
#### Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccWorkbenchInstance_metadataValidation
    🟢 All tests passed!

View the build log

Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

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

This LGTM apart from updates needed for the 7.0 release (once that process starts.) reviewing to remove from my queue in the meantime.

@ScottSuarez ScottSuarez enabled auto-merge March 27, 2025 19:10
@melinath melinath disabled auto-merge March 27, 2025 20:05
Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

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

Marking as changes requested to capture that it will need changes before being added to the 7.0 branch

Copy link

@bcreddy-gcp, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days.

Please address any comments or change requests, or re-request review from a core reviewer if no action is required.

Image showing the re-request review button

This notification can be disabled with the disable-automatic-closure label.

@ScottSuarez ScottSuarez marked this pull request as draft April 10, 2025 17:56
@ScottSuarez
Copy link
Contributor

converting to draft until the 7.0 branch has been cut

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.