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

Composer #12463

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Composer #12463

merged 3 commits into from
Dec 2, 2024

Conversation

rlapin-pl
Copy link
Contributor

Remove 2 Composer 1 tests that are failing due to labels with google- prefix.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


Remove 2 Composer 1 tests that are failing due to labels with google- prefix.
@github-actions github-actions bot requested a review from slevenick December 2, 2024 10:25
Copy link

github-actions bot commented Dec 2, 2024

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@slevenick, 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
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 ( 1 file changed, 80 deletions(-))
google-beta provider: Diff ( 1 file changed, 80 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 50
Passed tests: 49
Skipped tests: 1
Affected tests: 0

Click here to see the affected service packages
  • composer

🟢 All tests passed!

View the build log

Copy link
Contributor

@spapi17 spapi17 left a comment

Choose a reason for hiding this comment

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

We can also remove corresponding configurations: testAccComposerEnvironment_update (on line 2588) and testAccComposerEnvironment_webServerCfg (on line 1943), they are not used in any other tests.

@rlapin-pl
Copy link
Contributor Author

We can also remove corresponding configurations: testAccComposerEnvironment_update (on line 2588) and testAccComposerEnvironment_webServerCfg (on line 1943), they are not used in any other tests.

Done

@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 ( 1 file changed, 232 insertions(+), 387 deletions(-))
google-beta provider: Diff ( 1 file changed, 232 insertions(+), 394 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

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

Click here to see the affected service packages
  • composer

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

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 ( 1 file changed, 210 deletions(-))
google-beta provider: Diff ( 1 file changed, 217 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 50
Passed tests: 49
Skipped tests: 1
Affected tests: 0

Click here to see the affected service packages
  • composer

🟢 All tests passed!

View the build log

Copy link
Contributor

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

These tests are valuable and should not be removed without a good reason.

If the specific label is causing the issue, please rework the test to work as intended but to not set this label or add logic to the resource to prevent sending these labels as described in hashicorp/terraform-provider-google#20249 (comment)

@rlapin-pl
Copy link
Contributor Author

If the specific label is causing the issue, please rework the test to work as intended but to not set this label or add logic to the resource to prevent sending these labels as described in

This label is automatically added "Version 6.0.0 introduced the goog-terraform-provisioned attribution label, which is added automatically to all Terraform-provisioned resources. This is causing problems with the google_composer_environment resource.".

The tests cannot be reworked, because these labels are passed automatically and are not accepted by the API. We are not planning to change API and I got a green light to delete these tests, because 1) Composer 1 creation is not supported anymore 2) Composer 1 update operations are partially covered with other tests.

@github-actions github-actions bot requested a review from slevenick December 2, 2024 17:12
@slevenick slevenick merged commit 6ca4b26 into GoogleCloudPlatform:main Dec 2, 2024
12 checks passed
amanMahendroo pushed a commit to amanMahendroo/magic-modules that referenced this pull request Dec 17, 2024
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.

4 participants