Greenfield: Prepopulate direct KRM types, identity, and judgement queue for CloudDeployRelease #15886
All Vouch review confidence checks passed
Residual risk 0.34 = Change Risk (0.78) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.78 · 608 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.384
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.078
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #15886"
general
weight: 0.35
ada-coder-bot
Prepopulate direct KRM types, identity, reference, CRD, and
judgement_queue.yamlforCloudDeployReleaseunderclouddeploy.cnrm.cloud.google.com/v1alpha1following Greenfield Step 1a (.gemini/skills/kcc-direct-greenfield-types-implementer/prepopulate/SKILL.md):apis/clouddeploy/generate.shwithgenerate-types --prepopulate-resource --allow-non-declarative,generate-identity, and updatedgenerate-mapperwith--prepopulate-resourceforCloudDeployRelease:Release.apis/clouddeploy/v1alpha1/clouddeployrelease_types.go,types.generated.go, and deepcopy methods.IdentityV2andrefs.Refimplementations along with conformance unit tests (clouddeployrelease_identity.generated.go,clouddeployrelease_reference.generated.go,clouddeployrelease_identity_generated_test.go).config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_clouddeployreleases.clouddeploy.cnrm.cloud.google.com.yaml.CloudDeployReleasetoBLOCKED_KINDSindev/tasks/build-release-bundle.apis/clouddeploy/judgement_queue.yamlwithreason: untriaged-bulk-generationwithstatus: openfor Step 1b triage.clouddeployreleases.clouddeploy.cnrm.cloud.google.comtoknownInvalidCRDsintests/apichecks/crds_test.godue to output-only messageTargetArtifact.tests/apichecks/testdata/exceptions/golden files (alpha-missingfields.txt,no_refs_in_status.txt,refs_not_representable.txt,spec_dislike_etag.txt)..gemini/journals/clouddeploy.md.Fixes #15879
``
release-note
`NONE
Review Instructions
Use .gemini/skills/reviewgen-greenfield-new-types/SKILL.md to conduct the review.
KCC Greenfield Step 1 (Prepopulate) Auto-Review Results
Trigger criteria matched: Yes
generate.sh
& Flags Check: Pass - (generate-types --prepopulate-resource --allow-non-declarative,generate-identity,generate-mapper --prepopulate-resource, GA proto google.cloud.deploy.v1)apis/clouddeploy/judgement_queue.yamlJudgement Queue Open Check: Pass - (
containsreason: untriaged-bulk-generationwithstatus: openand zero premature resolutions)./apis/clouddeploy/generate.shMechanical Output & Idempotency: Pass - (
produces zero uncommitted diffs; generated files are pure mechanical output)BLOCKED_KINDSRelease Bundle Blocklist (
): Pass - (CloudDeployReleaseadded in alphabetical order toBLOCKED_KINDSindev/tasks/build-release-bundle)apichecksMapper Compilation &
: Pass - (apis/clouddeploy/...andpkg/controller/direct/clouddeploy/...build cleanly and all unit and apichecks tests pass)apis/clouddeploy/judgement_queue.yamlDetailed Findings / Actions Required:
None. All Greenfield Step 1a criteria and invariants are satisfied.
This pull request was generated by an AI coding agent.
<sub>🤖 Agent session</sub>
<!-- factory:task-output kind=Change task=recipe-fix-20261117-001205-ef9f -->
---
Greenfield: Triage judgement queue and finalize direct KRM types and identity for CloudDeployRelease
Triaged
and finalized direct KRM types, identity, and references forCloudDeployReleaseunderclouddeploy.cnrm.cloud.google.com/v1alpha1following Greenfield Step 1b:Resolved all open review items in apis/clouddeploy/judgement_queue.yamlforCloudDeployRelease.
Reused apis/clouddeploy/v1beta1/clouddeploydeliverypipeline_reference.go(DeliveryPipelineRef), updating it to implementrefs.Refwhile preservingNormalizedExternalfor backwards compatibility.
Replaced projectRefandlocationinCloudDeployReleaseSpecwith a single required and immutablespec.parentRef *v1beta1.DeliveryPipelineRefper Case B child resource conventions.
Removed top-level labelsfromCloudDeployReleaseSpec(reconciled viametadata.labels) and movedetagtoCloudDeployReleaseObservedState.
Updated documentation URL to https://cloud.google.com/deploy/docs/reference/rest/v1/projects.locations.deliveryPipelines.releasesand stripped all guess annotations.
Accepted skaffoldConfigURIasreference-not-representable(GCS archive path) and verifiedmessage-map-derivedfields.
Regenerated types, identity, deepcopy, CRD, and mapper code via ./apis/clouddeploy/generate.sh.
Removed clouddeployreleasesfromspec_dislike_etag.txtand updatedalpha-missingfields.txt.
Added comprehensive unit tests in apis/clouddeploy/v1alpha1/clouddeployrelease_identity_test.go`.Fixes #15896
This pull request was generated by an AI coding agent.
<!-- factory:group-step issue=15896 -->