Greenfield: Implement direct controller, E2E fixtures, and fuzzer for SaaSServiceMgmtRollout #13980
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.40) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 294 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.340
Real PR Conversation Timeline
1 comments
"Review active on #13980"
general
weight: 0.35
seans3
This PR implements the direct controller reconciliation logic, KRM fuzzer, and minimal/maximal E2E test fixtures for
SaaSServiceMgmtRollout(saasservicemgmt.cnrm.cloud.google.com/v1alpha1).Fixes #13974
Key Changes
1. Direct Controller:
- Implemented
SaaSServiceMgmtRolloutAdapterinpkg/controller/direct/saasservicemgmt/saasservicemgmtrollout_controller.gousing the official GAPIC REST client (SaasRolloutsClient).- Implemented
Find,Create,Update,Delete, andExportlogic.- Handled
Controldefaulting incompareRolloutto avoid spurious diffs during re-reconciliation whencontrolis unspecified by the user.- Registered
SaaSServiceMgmtRolloutinpkg/controller/resourceconfig/static_config.go.2. Fuzzer:
- Implemented
saasservicemgmtrollout_fuzzer.goand verified round-trip fidelity withTestFocusedMappers.3. E2E Test Fixtures & Real GCP Recording:
- Added
saasservicemgmtrollout-minimalandsaasservicemgmtrollout-maximalfixtures underpkg/test/resourcefixture/testdata/basic/saasservicemgmt/v1alpha1/saasservicemgmtrollout/.- Golden traffic and live REST audit probe were recorded against real GCP (
cnrm-barni-4) using./hack/record-gcp.- Updated
alpha-missingfields.txtto resolve all 8 missing fields forSaaSServiceMgmtRollout.4. Journal:
- Documented reconciliation observations and findings in
.gemini/journals/saasservicemgmt.md.Real GCP Audit Log Verification
``
release-note
``NONE
This pull request was generated by an AI coding agent.
<!-- factory:task-output kind=Change task=recipe-fix-20261014-025906-3e92 -->