Greenfield: Implement direct controller, E2E fixtures, and fuzzer for DataformReleaseConfig #14830
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 268 lines diff across 3 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.335
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #14830"
general
weight: 0.35
sdowell
Implements the direct controller, fuzzer registration, and live recorded E2E fixtures for
DataformReleaseConfig(dataform.cnrm.cloud.google.com/v1alpha1).Summary of Changes
pkg/controller/direct/dataform/dataformreleaseconfig_controller.go):- Ensured
common.NormalizeGreenfieldReferencesis called prior toobj.GetIdentity(ctx, reader)inAdapterForObject.- Utilizes GAPIC REST client (
dataform.NewRESTClient) withm.config.RESTClientOptions().- Reconciled steady-state and diffs via
common.CompareGreenfieldSpecandstructuredreporting.ReportDiff.- Handled mandatory
setStatusacross all Create and Update execution paths.- Recorded authentic golden HTTP logs (
_http.log), probe logs (_audit_probe.log), and object golden files against real GCP (cnrm-barni-4) usingRECORD_AUDIT_PROBE=1 ./hack/record-gcp.- Added
dataformreleaseconfig-minimalverifying creation with required fields (parentRef,gitCommitish) and update ofgitCommitish.- Added
dataformreleaseconfig-maximalverifying all supported spec fields, includingcodeCompilationConfig, and updating mutable fields (gitCommitish,cronSchedule,timeZone,disabled).- Verified round-trip fuzzer passes with 200 seeds via
FOCUS=DataformReleaseConfig go test -v ./pkg/fuzztesting/fuzztests -run TestFocusedMappers.- Added service-specific learnings in
.gemini/journals/dataform.mddocumenting API immutability rules (code_compilation_configis immutable in GCP Dataform API) and automatic release restrictions (requiresgitRemoteSettingson the parent repository).Real GCP Recording Details
cnrm-barni-4Fixes #14701
``
release-note
``NONE
This pull request was generated by an AI coding agent.
<sub>🤖 Agent session</sub>
<!-- factory:task-output kind=Change task=recipe-fix-20261103-211356-f8cf -->