Repository navigation
Conversation
…ource (beta) XManager is turned on and off with the cluster's :enableXmanager and :disableXmanager methods, and there's no update or get call, so this is an immutable resource keyed by the cluster. Read uses the cluster's runtime.xmanager, and since the API doesn't return the inputs they're ignore_read.
…er_xmanager (beta) The full sample now sets allowed_domains and the new auth sample sets allowed_emails, so each list is covered both set and unset.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 00ce389: Diff reportYour PR generated the following diffs in downstream repositories:
Exhaustive test report✅ Click here to see exhaustive test resultsAll newly added resource fields have exhaustive lifecycle test coverage ( Legend: ✅ Covered (no action needed) · ➖ Exempt (no action needed) · ❌ MISSING (action needed)
|
| Status | Field Path | Kind | SET | MODIFY | UNSET |
|---|---|---|---|---|---|
| ✅ | auth_config |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample (step 1), omitted |
| ✅ | auth_config.allowed_domains |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1), omitted |
| ✅ | auth_config.allowed_emails |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1), omitted |
| ✅ | auth_config.oauth_client |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
| ✅ | auth_config.oauth_client.id |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
| ✅ | auth_config.oauth_client.secret_version |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
| ✅ | model_development_cluster |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | network |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | region |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | subnetwork |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | xprof_config |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1), omitted |
| ✅ | xprof_config.gcs_bucket_uri |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 177 | 163 | 11 | 3 |
Affected Service Packages
- vertexai
Step 1: Replaying Mode
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
- TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample
- TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample
- TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample
View the replaying VCR build log
Step 2: Recording Mode
| Recording Mode | Findings | Test Name |
|---|---|---|
| ✅ Log | - | TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample |
| ✅ Log | - | TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample |
| ✅ Log | - | TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample |
🟢 All tests passed!
View the recording VCR build log or the debug logs folder for detailed results.
unused-template-check only finds sample templates through steps, so the 0-step shorthand made it report the sample templates as unused. The generated tests and docs don't change.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 74b9e42: Diff reportYour PR generated the following diffs in downstream repositories:
Exhaustive test report✅ Click here to see exhaustive test resultsAll newly added resource fields have exhaustive lifecycle test coverage ( Legend: ✅ Covered (no action needed) · ➖ Exempt (no action needed) · ❌ MISSING (action needed)
|
| Status | Field Path | Kind | SET | MODIFY | UNSET |
|---|---|---|---|---|---|
| ✅ | auth_config |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerBasicExample (step 1), omitted |
| ✅ | auth_config.allowed_domains |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1), omitted |
| ✅ | auth_config.allowed_emails |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1), omitted |
| ✅ | auth_config.oauth_client |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
| ✅ | auth_config.oauth_client.id |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
| ✅ | auth_config.oauth_client.secret_version |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
| ✅ | model_development_cluster |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | network |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | region |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | subnetwork |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired |
| ✅ | xprof_config |
NestedBlock | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerAuthExample (step 1), omitted |
| ✅ | xprof_config.gcs_bucket_uri |
Leaf | ✅ Covered TestAccVertexAIModelDevelopmentClusterXmanager_vertexAiModelDevelopmentClusterXmanagerFullExample (step 1) |
➖ Exemptresource_not_updatable |
➖ Exemptrequired_in_parent |
Test report
Analytics
| Total Tests | Passed | Skipped | Affected |
|---|---|---|---|
| 177 | 166 | 11 | 0 |
Affected Service Packages
- vertexai
Step 1: Replaying Mode
🟢 All tests passed in Replaying mode! No Recording was needed.
View the replaying VCR build log
Stacked on #20584, so only the auth change is new here: diff from #20584. I'll keep this as a draft until #20584 merges. This replaces #20354.
Adds
auth_configtogoogle_vertex_ai_model_development_cluster_xmanager(beta). With it set, people have to sign in with their own account, and only the listed domains and emails can use the XManager instance.Things worth a look:
auth_configisn't returned by the API either, so it'signore_read, and like everything else on this resource, changing it replaces the instance. The two lists are sets, so reordering them doesn't.at_least_one_ofonallowed_domainsandallowed_emailsturns an emptyauth_configinto a plan error, instead of an API error after the cluster is already up.secret_versionat a new version replaces the instance. The field docs call that out.google_iam_oauth_clientis for Workforce Identity Federation), and the API doesn't check the client when XManager is enabled.auth_configis still rolling out on the API side, so projects that aren't allowlisted get FAILED_PRECONDITION. The CI test projects are allowlisted.fullnow also setsallowed_domains, and the newauthsample setsallowed_emails. The exhaustive check wants each list left out whileauth_configis still set, so that takes one more cluster (three total, about 65 minutes each).authis test-only so the docs page doesn't get a third copy of the cluster setup. All three pass against a real project.b/582339842, b/581399661