← Back to Pull requests

hack/manual-validate: add DesignCenterCatalogTemplate validation #16277

Closed
unknown closed this pull request without merging on Nov 22, 2026 01:03 UTC
View on GitHub
unknown unknown commented on Nov 21, 2026 19:43 UTC
Author

New script for the new direct controller added in #16177.

Result: PASS (37 passed, 0 failed)
Controller bugs: none
Not checked: nothing
Script fixes during the run: none

Fixes #16257

This pull request was generated by an AI coding agent.

``release-note
NONE


<details>
<summary>📎 <code>receipts.md</code> · 25632 bytes · sha256 <code>25d13745784d42f9ce7ed8fa2ec7913074a94e66f442b87e05a28b5f740ddb2c</code></summary>

# Validation receipts

1 run(s), each from a clean start. Copied from the run directories; project numbers and email addresses masked.

## Run 1: `DesignCenterCatalogTemplate/20261121T193955Z`

### Manual validation: DesignCenterCatalogTemplate

**Verdict: PASS** (37 passed, 0 failed)

yaml
kind: DesignCenterCatalogTemplate
project_id: cnrm-barni-4
project_number: <project-number>
unique_id: mv2899952b3e
namespace: mv2899952b3e
git_sha: 7fd680b4505447fbfca1d45c86ab3d7a8b52462d
git_dirty: 0
gcloud_account: cnrm-barni-1.svc.id.goog
controller_credentials: application-default (ADC)
rest_token_cmd: gcloud auth application-default print-access-token
started_utc: 2026-11-21T19:39:58Z
started_pdt: 2026-11-21T11:39:58PST
host: Linux 6.12.105+ x86_64
fixture_dir: pkg/test/resourcefixture/testdata/basic/designcenter/v1alpha1/designcentercatalogtemplate/designcentercatalogtemplate-maximal
apis_enabled_by_run: none
finished_utc: 2026-11-21T19:43:25Z
finished_pdt: 2026-11-21T11:43:25PST

Local KCC (hack/manual-validate/kcc-local): envtest apiserver + KCC admission webhooks + the same kccmanager as cmd/manager + deletion defender.
Every Kubernetes step was cross-checked out of band with bq/gcloud and raw REST (curl),
never through the controller's client libraries or KCC status (REST token: see rest_token_cmd above).
Webhooks ran, except deny-immutable-field-updates (excluded under envtest, same as the e2e harness).

| Time (UTC) | Phase | Check | Result | Evidence | Detail |
|---|---|---|---|---|---|
| 2026-11-21T19:40:00Z | setup | API designcenter.googleapis.com enabled | INFO | `cloud/setup-api-designcenter.txt` | already enabled |
| 2026-11-21T19:40:02Z | setup | API apphub.googleapis.com enabled | INFO | `cloud/setup-api-apphub.txt` | already enabled |
| 2026-11-21T19:40:04Z | setup | API logging.googleapis.com enabled | INFO | `cloud/setup-api-logging.txt` | already enabled |
| 2026-11-21T19:41:42Z | setup | local KCC up: envtest + webhooks + manager + deletion defender | INFO | `manager.log` | 874 CRDs; webhooks serving (8 configs); deny-immutable-field-updates webhook excluded (as in e2e) |
| 2026-11-21T19:41:50Z | deps | kubectl apply dependencies.yaml | PASS | `k8s/deps-apply.txt` | designcenterspace.designcenter.cnrm.cloud.google.com/dc-space-mv2899952b3e created;designcentercatalog.designcenter.cnrm.cloud.google.com/dc-catalog-mv2899952b3e created; |
| 2026-11-21T19:41:56Z | deps | DesignCenterSpace/dc-space-mv2899952b3e Ready (gen 1) | PASS | `k8s/deps-designcenterspace-dc-space-mv2899952b3e.yaml` | after 6s reason=UpToDate |
| 2026-11-21T19:41:57Z | deps | DesignCenterCatalog/dc-catalog-mv2899952b3e Ready (gen 1) | PASS | `k8s/deps-designcentercatalog-dc-catalog-mv2899952b3e.yaml` | after 1s reason=UpToDate |
| 2026-11-21T19:41:58Z | deps | REST GET space returns 200 | PASS | `cloud/deps-space.json` | HTTP 200 |
| 2026-11-21T19:41:59Z | deps | REST GET catalog returns 200 | PASS | `cloud/deps-catalog.json` | HTTP 200 |
| 2026-11-21T19:41:59Z | create | kubectl apply create.yaml | PASS | `k8s/create-apply.txt` | designcentercatalogtemplate.designcenter.cnrm.cloud.google.com/designcentercatalogtemplate-maximal-mv2899952b3e created; |
| 2026-11-21T19:42:05Z | create | DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e Ready (gen 1) | PASS | `k8s/create-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.yaml` | after 6s reason=UpToDate |
| 2026-11-21T19:42:05Z | create | status.externalRef | INFO | `k8s/create-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.json` | projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e |
| 2026-11-21T19:42:07Z | create | REST GET template returns 200 | PASS | `cloud/create-template.json` | HTTP 200 |
| 2026-11-21T19:42:07Z | create | cloud displayName matches spec | PASS | `cloud/create-template.json` | .displayName == Maximal Catalog Template Display Name |
| 2026-11-21T19:42:07Z | create | cloud description matches spec | PASS | `cloud/create-template.json` | .description == Maximal catalog template description for testing |
| 2026-11-21T19:42:07Z | create | cloud templateCategory matches spec | PASS | `cloud/create-template.json` | if .templateCategory == 1 or .templateCategory == "COMPONENT_TEMPLATE" then "COMPONENT_TEMPLATE" elif .templateCategory == 2 or .templateCategory == "APPLICATION_TEMPLATE" then "APPLICATION_TEMPLATE" ... |
| 2026-11-21T19:42:07Z | create | cloud type matches spec | PASS | `cloud/create-template.json` | if .type == 1 or .type == "SERVICE" then "SERVICE" elif .type == 2 or .type == "WORKLOAD" then "WORKLOAD" elif .type == 3 or .type == "ASSET" then "ASSET" else (.type\|tostring) end == SERVICE |
| 2026-11-21T19:42:07Z | create | cloud resource name matches expected ID | PASS | `cloud/create-template.json` | .name == projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e |
| 2026-11-21T19:42:07Z | create | gcloud CLI surface | INFO | `cloud/create-template.json` | no gcloud CLI command for designcenter; REST GET used out of band |
| 2026-11-21T19:42:08Z | create | REST GET list-templates returns 200 | PASS | `cloud/create-list-templates.json` | HTTP 200 |
| 2026-11-21T19:42:08Z | create | ListCatalogTemplates returns created template | PASS | `cloud/create-list-templates.json` | 'projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e' |
| 2026-11-21T19:42:21Z | update | kubectl apply update.yaml | PASS | `k8s/update-apply.txt` | designcentercatalogtemplate.designcenter.cnrm.cloud.google.com/designcentercatalogtemplate-maximal-mv2899952b3e configured; |
| 2026-11-21T19:42:24Z | update | DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e Ready (gen 2) | PASS | `k8s/update-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.yaml` | after 1s reason=UpToDate |
| 2026-11-21T19:42:24Z | update | k8s generation advanced to 2 | PASS | `k8s/update-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.json` | .metadata.generation == 2 |
| 2026-11-21T19:42:25Z | update | REST GET template returns 200 | PASS | `cloud/update-template.json` | HTTP 200 |
| 2026-11-21T19:42:25Z | update | cloud displayName updated to new spec | PASS | `cloud/update-template.json` | .displayName == Maximal Catalog Template Display Name Updated |
| 2026-11-21T19:42:25Z | update | cloud description updated to new spec | PASS | `cloud/update-template.json` | .description == Maximal catalog template description updated for testing |
| 2026-11-21T19:42:25Z | update | cloud templateCategory matches spec | PASS | `cloud/update-template.json` | if .templateCategory == 1 or .templateCategory == "COMPONENT_TEMPLATE" then "COMPONENT_TEMPLATE" elif .templateCategory == 2 or .templateCategory == "APPLICATION_TEMPLATE" then "APPLICATION_TEMPLATE" ... |
| 2026-11-21T19:42:25Z | update | cloud type updated to new spec | PASS | `cloud/update-template.json` | if .type == 1 or .type == "SERVICE" then "SERVICE" elif .type == 2 or .type == "WORKLOAD" then "WORKLOAD" elif .type == 3 or .type == "ASSET" then "ASSET" else (.type\|tostring) end == WORKLOAD |
| 2026-11-21T19:42:25Z | update | createTime preserved, updateTime updated | INFO | `cloud/update-template.json` | createTime=2026-11-21T19:41:59.698939897Z updateTime=2026-11-21T19:42:21.710438621Z |
| 2026-11-21T19:42:26Z | update | REST GET list-templates returns 200 | PASS | `cloud/update-list-templates.json` | HTTP 200 |
| 2026-11-21T19:42:26Z | update | ListCatalogTemplates reflects updated displayName | PASS | `cloud/update-list-templates.json` | 'Maximal Catalog Template Display Name Updated' |
| 2026-11-21T19:42:47Z | steady | still Ready, observedGeneration == generation | PASS | `k8s/steady-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.json` | (([.status.conditions[]? \| select(.type=="Ready")][0].status) + ":" + ((.status.observedGeneration == .metadata.generation) \| tostring)) == True:true |
| 2026-11-21T19:42:50Z | delete | DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e removed from k8s | PASS | `k8s/delete-delete.txt` | after 3s |
| 2026-11-21T19:42:51Z | delete | REST GET template-gone returns 404 | PASS | `cloud/delete-template-gone.json` | HTTP 404 |
| 2026-11-21T19:43:10Z | delete | audit log write calls on designcentercatalogtemplate-maximal-mv2899952b3e | PASS | `cloud/delete-audit-template.json` | 'CreateCatalogTemplate,UpdateCatalogTemplate,DeleteCatalogTemplate' |
| 2026-11-21T19:43:11Z | delete | REST GET list-templates returns 200 | PASS | `cloud/delete-list-templates.json` | HTTP 200 |
| 2026-11-21T19:43:11Z | delete | ListCatalogTemplates no longer contains deleted template | PASS | `cloud/delete-list-templates.json` | '' |
| 2026-11-21T19:43:14Z | teardown | DesignCenterCatalog/dc-catalog-mv2899952b3e removed from k8s | PASS | `k8s/teardown-delete.txt` | after 3s |
| 2026-11-21T19:43:15Z | teardown | REST GET catalog-gone returns 404 | PASS | `cloud/teardown-catalog-gone.json` | HTTP 404 |
| 2026-11-21T19:43:19Z | teardown | DesignCenterSpace/dc-space-mv2899952b3e removed from k8s | PASS | `k8s/teardown-delete.txt` | after 4s |
| 2026-11-21T19:43:20Z | teardown | REST GET space-gone returns 404 | PASS | `cloud/teardown-space-gone.json` | HTTP 404 |
| 2026-11-21T19:43:20Z | teardown | manager log free of panics | PASS | `manager.log` |  |
| 2026-11-21T19:43:22Z | cleanup | no leaked GCP resources (space gone) | PASS | `cloud/cleanup-leakcheck-space.json` | HTTP 404 |

#### Files

- `rendered/`: the exact manifests applied
- `k8s/`: kubectl output and object snapshots after each phase
- `cloud/`: raw gcloud/bq/REST responses (`cloud/requests.txt` lists every REST call)
- `manager.log` (kcc-local: apiserver, webhooks, controllers), `run.log`

## Logs

<details><summary>Run 1 <code>results.tsv</code></summary>

text
2026-11-21T19:40:00Z setup API designcenter.googleapis.com enabled INFO cloud/setup-api-designcenter.txt already enabled
2026-11-21T19:40:02Z setup API apphub.googleapis.com enabled INFO cloud/setup-api-apphub.txt already enabled
2026-11-21T19:40:04Z setup API logging.googleapis.com enabled INFO cloud/setup-api-logging.txt already enabled
2026-11-21T19:41:42Z setup local KCC up: envtest + webhooks + manager + deletion defender INFO manager.log 874 CRDs; webhooks serving (8 configs); deny-immutable-field-updates webhook excluded (as in e2e)
2026-11-21T19:41:50Z deps kubectl apply dependencies.yaml PASS k8s/deps-apply.txt designcenterspace.designcenter.cnrm.cloud.google.com/dc-space-mv2899952b3e created;designcentercatalog.designcenter.cnrm.cloud.google.com/dc-catalog-mv2899952b3e created;
2026-11-21T19:41:56Z deps DesignCenterSpace/dc-space-mv2899952b3e Ready (gen 1) PASS k8s/deps-designcenterspace-dc-space-mv2899952b3e.yaml after 6s reason=UpToDate
2026-11-21T19:41:57Z deps DesignCenterCatalog/dc-catalog-mv2899952b3e Ready (gen 1) PASS k8s/deps-designcentercatalog-dc-catalog-mv2899952b3e.yaml after 1s reason=UpToDate
2026-11-21T19:41:58Z deps REST GET space returns 200 PASS cloud/deps-space.json HTTP 200
2026-11-21T19:41:59Z deps REST GET catalog returns 200 PASS cloud/deps-catalog.json HTTP 200
2026-11-21T19:41:59Z create kubectl apply create.yaml PASS k8s/create-apply.txt designcentercatalogtemplate.designcenter.cnrm.cloud.google.com/designcentercatalogtemplate-maximal-mv2899952b3e created;
2026-11-21T19:42:05Z create DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e Ready (gen 1) PASS k8s/create-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.yaml after 6s reason=UpToDate
2026-11-21T19:42:05Z create status.externalRef INFO k8s/create-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.json projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e
2026-11-21T19:42:07Z create REST GET template returns 200 PASS cloud/create-template.json HTTP 200
2026-11-21T19:42:07Z create cloud displayName matches spec PASS cloud/create-template.json .displayName == Maximal Catalog Template Display Name
2026-11-21T19:42:07Z create cloud description matches spec PASS cloud/create-template.json .description == Maximal catalog template description for testing
2026-11-21T19:42:07Z create cloud templateCategory matches spec PASS cloud/create-template.json if .templateCategory == 1 or .templateCategory == "COMPONENT_TEMPLATE" then "COMPONENT_TEMPLATE" elif .templateCategory == 2 or .templateCategory == "APPLICATION_TEMPLATE" then "APPLICATION_TEMPLATE" elif .templateCategory == 4 or .templateCategory == "INSTANCE_TEMPLATE" then "INSTANCE_TEMPLATE" else (.templateCategory|tostring) end == COMPONENT_TEMPLATE
2026-11-21T19:42:07Z create cloud type matches spec PASS cloud/create-template.json if .type == 1 or .type == "SERVICE" then "SERVICE" elif .type == 2 or .type == "WORKLOAD" then "WORKLOAD" elif .type == 3 or .type == "ASSET" then "ASSET" else (.type|tostring) end == SERVICE
2026-11-21T19:42:07Z create cloud resource name matches expected ID PASS cloud/create-template.json .name == projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e
2026-11-21T19:42:07Z create gcloud CLI surface INFO cloud/create-template.json no gcloud CLI command for designcenter; REST GET used out of band
2026-11-21T19:42:08Z create REST GET list-templates returns 200 PASS cloud/create-list-templates.json HTTP 200
2026-11-21T19:42:08Z create ListCatalogTemplates returns created template PASS cloud/create-list-templates.json 'projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e'
2026-11-21T19:42:21Z update kubectl apply update.yaml PASS k8s/update-apply.txt designcentercatalogtemplate.designcenter.cnrm.cloud.google.com/designcentercatalogtemplate-maximal-mv2899952b3e configured;
2026-11-21T19:42:24Z update DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e Ready (gen 2) PASS k8s/update-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.yaml after 1s reason=UpToDate
2026-11-21T19:42:24Z update k8s generation advanced to 2 PASS k8s/update-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.json .metadata.generation == 2
2026-11-21T19:42:25Z update REST GET template returns 200 PASS cloud/update-template.json HTTP 200
2026-11-21T19:42:25Z update cloud displayName updated to new spec PASS cloud/update-template.json .displayName == Maximal Catalog Template Display Name Updated
2026-11-21T19:42:25Z update cloud description updated to new spec PASS cloud/update-template.json .description == Maximal catalog template description updated for testing
2026-11-21T19:42:25Z update cloud templateCategory matches spec PASS cloud/update-template.json if .templateCategory == 1 or .templateCategory == "COMPONENT_TEMPLATE" then "COMPONENT_TEMPLATE" elif .templateCategory == 2 or .templateCategory == "APPLICATION_TEMPLATE" then "APPLICATION_TEMPLATE" elif .templateCategory == 4 or .templateCategory == "INSTANCE_TEMPLATE" then "INSTANCE_TEMPLATE" else (.templateCategory|tostring) end == COMPONENT_TEMPLATE
2026-11-21T19:42:25Z update cloud type updated to new spec PASS cloud/update-template.json if .type == 1 or .type == "SERVICE" then "SERVICE" elif .type == 2 or .type == "WORKLOAD" then "WORKLOAD" elif .type == 3 or .type == "ASSET" then "ASSET" else (.type|tostring) end == WORKLOAD
2026-11-21T19:42:25Z update createTime preserved, updateTime updated INFO cloud/update-template.json createTime=2026-11-21T19:41:59.698939897Z updateTime=2026-11-21T19:42:21.710438621Z
2026-11-21T19:42:26Z update REST GET list-templates returns 200 PASS cloud/update-list-templates.json HTTP 200
2026-11-21T19:42:26Z update ListCatalogTemplates reflects updated displayName PASS cloud/update-list-templates.json 'Maximal Catalog Template Display Name Updated'
2026-11-21T19:42:47Z steady still Ready, observedGeneration == generation PASS k8s/steady-designcentercatalogtemplate-designcentercatalogtemplate-maximal-mv2899952b3e.json (([.status.conditions[]? | select(.type=="Ready")][0].status) + ":" + ((.status.observedGeneration == .metadata.generation) | tostring)) == True:true
2026-11-21T19:42:50Z delete DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e removed from k8s PASS k8s/delete-delete.txt after 3s
2026-11-21T19:42:51Z delete REST GET template-gone returns 404 PASS cloud/delete-template-gone.json HTTP 404
2026-11-21T19:43:10Z delete audit log write calls on designcentercatalogtemplate-maximal-mv2899952b3e PASS cloud/delete-audit-template.json 'CreateCatalogTemplate,UpdateCatalogTemplate,DeleteCatalogTemplate'
2026-11-21T19:43:11Z delete REST GET list-templates returns 200 PASS cloud/delete-list-templates.json HTTP 200
2026-11-21T19:43:11Z delete ListCatalogTemplates no longer contains deleted template PASS cloud/delete-list-templates.json ''
2026-11-21T19:43:14Z teardown DesignCenterCatalog/dc-catalog-mv2899952b3e removed from k8s PASS k8s/teardown-delete.txt after 3s
2026-11-21T19:43:15Z teardown REST GET catalog-gone returns 404 PASS cloud/teardown-catalog-gone.json HTTP 404
2026-11-21T19:43:19Z teardown DesignCenterSpace/dc-space-mv2899952b3e removed from k8s PASS k8s/teardown-delete.txt after 4s
2026-11-21T19:43:20Z teardown REST GET space-gone returns 404 PASS cloud/teardown-space-gone.json HTTP 404
2026-11-21T19:43:20Z teardown manager log free of panics PASS manager.log
2026-11-21T19:43:22Z cleanup no leaked GCP resources (space gone) PASS cloud/cleanup-leakcheck-space.json HTTP 404

</details>

<details><summary>Run 1 <code>run.log</code></summary>

text
[2026-11-21T19:39:58Z] run dir: /workspaces/k8s-config-connector/artifactz/manual-validation/DesignCenterCatalogTemplate/20261121T193955Z
[2026-11-21T19:39:58Z] project=cnrm-barni-4 uniqueId=mv2899952b3e
[2026-11-21T19:40:00Z] [INFO] setup: API designcenter.googleapis.com enabled - already enabled
[2026-11-21T19:40:02Z] [INFO] setup: API apphub.googleapis.com enabled - already enabled
[2026-11-21T19:40:04Z] [INFO] setup: API logging.googleapis.com enabled - already enabled
[2026-11-21T19:40:04Z] building kcc-local from 7fd680b450
[2026-11-21T19:41:13Z] starting kcc-local: envtest apiserver + KCC webhooks + controller manager + deletion defender (ADC credentials)
[2026-11-21T19:41:42Z] [INFO] setup: local KCC up: envtest + webhooks + manager + deletion defender - 874 CRDs; webhooks serving (8 configs); deny-immutable-field-updates webhook excluded (as in e2e)
[2026-11-21T19:41:50Z] [PASS] deps: kubectl apply dependencies.yaml - designcenterspace.designcenter.cnrm.cloud.google.com/dc-space-mv2899952b3e created;designcentercatalog.designcenter.cnrm.cloud.google.com/dc-catalog-mv2899952b3e created;
[2026-11-21T19:41:56Z] [PASS] deps: DesignCenterSpace/dc-space-mv2899952b3e Ready (gen 1) - after 6s reason=UpToDate
[2026-11-21T19:41:57Z] [PASS] deps: DesignCenterCatalog/dc-catalog-mv2899952b3e Ready (gen 1) - after 1s reason=UpToDate
[2026-11-21T19:41:58Z] [PASS] deps: REST GET space returns 200 - HTTP 200
[2026-11-21T19:41:59Z] [PASS] deps: REST GET catalog returns 200 - HTTP 200
[2026-11-21T19:41:59Z] [PASS] create: kubectl apply create.yaml - designcentercatalogtemplate.designcenter.cnrm.cloud.google.com/designcentercatalogtemplate-maximal-mv2899952b3e created;
[2026-11-21T19:42:05Z] [PASS] create: DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e Ready (gen 1) - after 6s reason=UpToDate
[2026-11-21T19:42:05Z] [INFO] create: status.externalRef - projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e
[2026-11-21T19:42:07Z] [PASS] create: REST GET template returns 200 - HTTP 200
[2026-11-21T19:42:07Z] [PASS] create: cloud displayName matches spec - .displayName == Maximal Catalog Template Display Name
[2026-11-21T19:42:07Z] [PASS] create: cloud description matches spec - .description == Maximal catalog template description for testing
[2026-11-21T19:42:07Z] [PASS] create: cloud templateCategory matches spec - if .templateCategory == 1 or .templateCategory == "COMPONENT_TEMPLATE" then "COMPONENT_TEMPLATE" elif .templateCategory == 2 or .templateCategory == "APPLICATION_TEMPLATE" then "APPLICATION_TEMPLATE" elif .templateCategory == 4 or .templateCategory == "INSTANCE_TEMPLATE" then "INSTANCE_TEMPLATE" else (.templateCategory|tostring) end == COMPONENT_TEMPLATE
[2026-11-21T19:42:07Z] [PASS] create: cloud type matches spec - if .type == 1 or .type == "SERVICE" then "SERVICE" elif .type == 2 or .type == "WORKLOAD" then "WORKLOAD" elif .type == 3 or .type == "ASSET" then "ASSET" else (.type|tostring) end == SERVICE
[2026-11-21T19:42:07Z] [PASS] create: cloud resource name matches expected ID - .name == projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e
[2026-11-21T19:42:07Z] [INFO] create: gcloud CLI surface - no gcloud CLI command for designcenter; REST GET used out of band
[2026-11-21T19:42:08Z] [PASS] create: REST GET list-templates returns 200 - HTTP 200
[2026-11-21T19:42:08Z] [PASS] create: ListCatalogTemplates returns created template - 'projects/cnrm-barni-4/locations/us-central1/spaces/dc-space-mv2899952b3e/catalogs/dc-catalog-mv2899952b3e/templates/designcentercatalogtemplate-maximal-mv2899952b3e'
[2026-11-21T19:42:21Z] [PASS] update: kubectl apply update.yaml - designcentercatalogtemplate.designcenter.cnrm.cloud.google.com/designcentercatalogtemplate-maximal-mv2899952b3e configured;
[2026-11-21T19:42:24Z] [PASS] update: DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e Ready (gen 2) - after 1s reason=UpToDate
[2026-11-21T19:42:24Z] [PASS] update: k8s generation advanced to 2 - .metadata.generation == 2
[2026-11-21T19:42:25Z] [PASS] update: REST GET template returns 200 - HTTP 200
[2026-11-21T19:42:25Z] [PASS] update: cloud displayName updated to new spec - .displayName == Maximal Catalog Template Display Name Updated
[2026-11-21T19:42:25Z] [PASS] update: cloud description updated to new spec - .description == Maximal catalog template description updated for testing
[2026-11-21T19:42:25Z] [PASS] update: cloud templateCategory matches spec - if .templateCategory == 1 or .templateCategory == "COMPONENT_TEMPLATE" then "COMPONENT_TEMPLATE" elif .templateCategory == 2 or .templateCategory == "APPLICATION_TEMPLATE" then "APPLICATION_TEMPLATE" elif .templateCategory == 4 or .templateCategory == "INSTANCE_TEMPLATE" then "INSTANCE_TEMPLATE" else (.templateCategory|tostring) end == COMPONENT_TEMPLATE
[2026-11-21T19:42:25Z] [PASS] update: cloud type updated to new spec - if .type == 1 or .type == "SERVICE" then "SERVICE" elif .type == 2 or .type == "WORKLOAD" then "WORKLOAD" elif .type == 3 or .type == "ASSET" then "ASSET" else (.type|tostring) end == WORKLOAD
[2026-11-21T19:42:25Z] [INFO] update: createTime preserved, updateTime updated - createTime=2026-11-21T19:41:59.698939897Z updateTime=2026-11-21T19:42:21.710438621Z
[2026-11-21T19:42:26Z] [PASS] update: REST GET list-templates returns 200 - HTTP 200
[2026-11-21T19:42:26Z] [PASS] update: ListCatalogTemplates reflects updated displayName - 'Maximal Catalog Template Display Name Updated'
[2026-11-21T19:42:47Z] [PASS] steady: still Ready, observedGeneration == generation - (([.status.conditions[]? | select(.type=="Ready")][0].status) + ":" + ((.status.observedGeneration == .metadata.generation) | tostring)) == True:true
[2026-11-21T19:42:50Z] [PASS] delete: DesignCenterCatalogTemplate/designcentercatalogtemplate-maximal-mv2899952b3e removed from k8s - after 3s
[2026-11-21T19:42:51Z] [PASS] delete: REST GET template-gone returns 404 - HTTP 404
[2026-11-21T19:43:10Z] [PASS] delete: audit log write calls on designcentercatalogtemplate-maximal-mv2899952b3e - 'CreateCatalogTemplate,UpdateCatalogTemplate,DeleteCatalogTemplate'
[2026-11-21T19:43:11Z] [PASS] delete: REST GET list-templates returns 200 - HTTP 200
[2026-11-21T19:43:11Z] [PASS] delete: ListCatalogTemplates no longer contains deleted template - ''
[2026-11-21T19:43:14Z] [PASS] teardown: DesignCenterCatalog/dc-catalog-mv2899952b3e removed from k8s - after 3s
[2026-11-21T19:43:15Z] [PASS] teardown: REST GET catalog-gone returns 404 - HTTP 404
[2026-11-21T19:43:19Z] [PASS] teardown: DesignCenterSpace/dc-space-mv2899952b3e removed from k8s - after 4s
[2026-11-21T19:43:20Z] [PASS] teardown: REST GET space-gone returns 404 - HTTP 404
[2026-11-21T19:43:20Z] [PASS] teardown: manager log free of panics
[2026-11-21T19:43:20Z] cleanup: deleting any remaining KCC objects, then checking GCP for leaks
[2026-11-21T19:43:22Z] [PASS] cleanup: no leaked GCP resources (space gone) - HTTP 404
[2026-11-21T19:43:25Z] report: /workspaces/k8s-config-connector/artifactz/manual-validation/DesignCenterCatalogTemplate/20261121T193955Z/REPORT.md (verdict PASS)
``

</details>

</details>

<sub>🤖 Agent session</sub>

<!-- factory:task-output kind=Change task=recipe-validate-kind-20261121-191233-40e8 -->

Diff: 650 lines (+487 / -163) across 8 files Reviewer: barney-s Review duration: 320m
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
0.52
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.388
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16277"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 52% (MEDIUM) · Higher = larger blast radius
52%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 20.5% · Safe to merge
20.5%