magic-modules icon indicating copy to clipboard operation
magic-modules copied to clipboard

add project_number field to featureview

Open kkram01 opened this issue 1 year ago • 63 comments

Add a new field "project_number" to featureview resource and update documentation changes for "feature_group" resource

Release Note Template for Downstream PRs (will be copied)

vertexai: added `project_number` field to `google_vertex_ai_feature_online_store_featureview` resource
vertexai: updated documentation for `google_vertex_ai_feature_group` resource

kkram01 avatar Jun 03 '24 10:06 kkram01

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

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

github-actions[bot] avatar Jun 03 '24 10:06 github-actions[bot]

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

Missing test report

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

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

resource "google_vertex_ai_feature_online_store_featureview" "primary" {
  feature_registry_source {
    project_number = # value needed
  }
}

modular-magician avatar Jun 03 '24 10:06 modular-magician

Tests analytics

Total tests: 46 Passed tests: 45 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStore_vertexAiFeatureonlinestoreWithBetaFieldsOptimizedExample

Get to know how VCR tests work

modular-magician avatar Jun 03 '24 11:06 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccVertexAIFeatureOnlineStore_vertexAiFeatureonlinestoreWithBetaFieldsOptimizedExample[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

modular-magician avatar Jun 03 '24 11:06 modular-magician

This PR has been waiting for review for 2 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Jun 05 '24 09:06 github-actions[bot]

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 ( 6 files changed, 87 insertions(+), 6 deletions(-)) google-beta provider: Diff ( 6 files changed, 36 insertions(+), 6 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 11 insertions(+))

Missing test report

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

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

resource "google_vertex_ai_feature_online_store_featureview" "primary" {
  feature_registry_source {
    project_number = # value needed
  }
}


modular-magician avatar Jun 06 '24 18:06 modular-magician

Tests analytics

Total tests: 46 Passed tests: 45 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStore_vertexAiFeatureonlinestoreWithBetaFieldsOptimizedExample

Get to know how VCR tests work

modular-magician avatar Jun 06 '24 18:06 modular-magician

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

$\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 avatar Jun 06 '24 18:06 modular-magician

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

modular-magician avatar Jun 13 '24 08:06 modular-magician

Tests analytics

Total tests: 47 Passed tests: 46 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample

Get to know how VCR tests work

modular-magician avatar Jun 13 '24 08:06 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample[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

modular-magician avatar Jun 13 '24 08:06 modular-magician

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

modular-magician avatar Jun 13 '24 09:06 modular-magician

Tests analytics

Total tests: 47 Passed tests: 46 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample

Get to know how VCR tests work

modular-magician avatar Jun 13 '24 09:06 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample[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

modular-magician avatar Jun 13 '24 09:06 modular-magician

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

modular-magician avatar Jun 13 '24 09:06 modular-magician

Tests analytics

Total tests: 47 Passed tests: 46 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample

Get to know how VCR tests work

modular-magician avatar Jun 13 '24 09:06 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample[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

modular-magician avatar Jun 13 '24 09:06 modular-magician

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

modular-magician avatar Jun 13 '24 09:06 modular-magician

Tests analytics

Total tests: 47 Passed tests: 46 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample

Get to know how VCR tests work

modular-magician avatar Jun 13 '24 09:06 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample[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

modular-magician avatar Jun 13 '24 09:06 modular-magician

hi @rileykarson I've added the test. however the creation of the resources is failing because of insufficient permissions error on the new project. Any inputs on how these permissions can be added to the underlying service_account that runs these tests?

kkram01 avatar Jun 13 '24 10:06 kkram01

@rileykarson This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Jun 18 '24 09:06 github-actions[bot]

Oh interesting- are the appropriate permissions not granted by roles/owner on the new project?

rileykarson avatar Jun 18 '24 19:06 rileykarson

@rileykarson image

The permissions are included in the Owner role to create the resources. The Owner role is automatically assigned to the Project creator, so it should work ideally. Not sure why it is failing. Any inputs?

kkram01 avatar Jun 19 '24 06:06 kkram01

@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

github-actions[bot] avatar Jun 20 '24 09:06 github-actions[bot]

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

modular-magician avatar Jun 21 '24 05:06 modular-magician

Tests analytics

Total tests: 47 Passed tests: 46 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample

Get to know how VCR tests work

modular-magician avatar Jun 21 '24 05:06 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewCrossProjectExample[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

modular-magician avatar Jun 21 '24 05:06 modular-magician

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

modular-magician avatar Jun 24 '24 12:06 modular-magician

Tests analytics

Total tests: 93 Passed tests: 46 Skipped tests: 0 Affected tests: 1

Click here to see the affected service packages
  • vertexai

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

Get to know how VCR tests work

modular-magician avatar Jun 24 '24 12:06 modular-magician