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

Add tags field to Memcache Instance for TagsR2401 #11576

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

Conversation

SamanthaMathews
Copy link

@SamanthaMathews SamanthaMathews commented Aug 29, 2024

Add tags field to instance resource to allow setting tags on instance resources at creation time.
Part of b/367727387

Release Note Template for Downstream PRs (will be copied)

Memcache: added `tags` field to `memcache_instance` to allow setting tags for instances at creation time

Copy link

google-cla bot commented Aug 29, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot requested a review from SarahFrench August 29, 2024 14:33
Copy link

github-actions bot commented Aug 29, 2024

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

@hao-nan-li, 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 modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Aug 29, 2024
Copy link
Contributor

@SarahFrench SarahFrench left a comment

Choose a reason for hiding this comment

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

@SamanthaMathews Hi, thanks for opening a PR! Could you please sign the CLA and I can get started reviewing

@SamanthaMathews SamanthaMathews marked this pull request as draft September 5, 2024 07:35
@SamanthaMathews SamanthaMathews changed the title commit terraform-memcache-tags Add tags field to Memcache Instance for TagsR2401 Sep 17, 2024
@c2thorn
Copy link
Member

c2thorn commented Sep 25, 2024

Discussing with @SamanthaMathews offline about this PR and the go rewrite migration

@zli82016 zli82016 force-pushed the terraform-memcache-tags branch from 25412b3 to 2804dc6 Compare September 26, 2024 23:31
@modular-magician modular-magician added service/memcache and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Sep 27, 2024
@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, 90 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 90 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 17 insertions(+))

Missing test report

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

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

resource "google_memcache_instance" "primary" {
  tags = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3
Passed tests: 2
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • memcache

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

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

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

Copy link
Member

@abd-goog abd-goog left a comment

Choose a reason for hiding this comment

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

Please fix breaking tests

@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Sep 30, 2024
@SamanthaMathews
Copy link
Author

@SarahFrench , could you please provide the approval for running automated test?

@SarahFrench
Copy link
Contributor

I just approved the tests to run. Also, please take a look at the CLA issue!

@modular-magician modular-magician removed the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Sep 30, 2024
@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, 90 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 90 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 17 insertions(+))

Missing test report

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

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

resource "google_memcache_instance" "primary" {
  tags = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3
Passed tests: 2
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • memcache

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

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

$\textcolor{red}{\textsf{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 modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 1, 2024
@SamanthaMathews
Copy link
Author

Hi @SarahFrench , could you please provide the approval for running automated test again?
Also is there any way to retrigger this test without adding any random commits?

@SarahFrench
Copy link
Contributor

@SamanthaMathews I believe that the tests run automatically on push for Googlers who show on their profiles that they're a member of a Google-owned GitHub org (this is how our automation detects Googlers). To trigger the tests to run without pushing a new commit you can comment /gcbrun on the PR. I'll double check internally about the Googler stuff

@SarahFrench
Copy link
Contributor

Ah, I believe you need to be a member of https://github.com/googlers

@modular-magician modular-magician removed the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 1, 2024
@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, 90 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 90 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 17 insertions(+))

Missing test report

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

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

resource "google_memcache_instance" "primary" {
  tags = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3
Passed tests: 2
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • memcache

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccMemcacheInstance_tags[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

@SarahFrench
Copy link
Contributor

SarahFrench commented Oct 1, 2024

Further to what I said above

@SamanthaMathews
Copy link
Author

Thanks @SarahFrench
I am waiting for confirmation on something. Meanwhile do you mind triggering the test again?

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Oct 1, 2024
@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, 90 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 90 insertions(+), 1 deletion(-))
terraform-google-conversion: Diff ( 1 file changed, 17 insertions(+))

Missing test report

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

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

resource "google_memcache_instance" "primary" {
  tags = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3
Passed tests: 2
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • memcache

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccMemcacheInstance_tags[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

@SamanthaMathews
Copy link
Author

@SarahFrench , the automated tests are failing. Could you please suggest a way to fix this?

@SarahFrench
Copy link
Contributor

Hi @SamanthaMathews, we can mark this PR as ready for review to work through the test failure, but first please address the failing CLA check.

@SarahFrench
Copy link
Contributor

@modular-magician reassign-reviewer

@github-actions github-actions bot requested a review from hao-nan-li November 22, 2024 18:36
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.

6 participants