Greenfield: Implement direct controller, E2E fixtures, and fuzzer for OracleDatabaseAutonomousDatabase #13807
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 245 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.329
Real PR Conversation Timeline
1 comments
"Review active on #13807"
general
weight: 0.35
reviewbot-robot
Summary of Changes
This PR implements the Greenfield Direct Controller, E2E fixtures, and fuzzer for
OracleDatabaseAutonomousDatabase:1. Direct Controller:
- Implemented
autonomousDatabaseAdaptermanaging reconciliation lifecycle (Find,Create,Update,Delete,Export) using the GAPIC REST client (oracledatabase.NewRESTClient) withm.config.RESTClientOptions().- Used
common.NormalizeReferencesto resolveprojectRef,networkRef, andadminPasswordSecretVersionRef.- Structured diff calculation using
common.DiffForTopLevelFields.- Populated observed state and status conditions from live GCP API responses.
- Registered the model in
pkg/controller/direct/register/register.goandpkg/controller/resourceconfig/static_config.go.2. Fuzzer:
- Implemented
oracleDatabaseAutonomousDatabaseFuzzerinpkg/controller/direct/oracledatabase/oracledatabaseautonomousdatabase_fuzzer.gousingfuzztesting.KRMTypedFuzzer.- Added
oracledatabaseautonomousdatabase_fuzzer_test.goand verified 10,000 iterations roundtrip without errors.3. E2E Test Fixtures & Real GCP Recording:
- Added minimal (
oracledatabaseautonomousdatabase-minimal) and maximal (oracledatabaseautonomousdatabase-maximal) test fixtures covering required and optional fields.- Tested against real GCP (
hack/record-gcp) using GCP projectcnrm-barni-4. Recorded golden objects, dependency requests, and verified API endpoint communication against live GCP (which validated authentication, parameters, and returnedENTITLEMENT_NOT_FOUNDas the project billing account requires a commercial Marketplace order for Oracle Database@Google Cloud).- Reduced missing fields in
tests/apichecks/testdata/exceptions/alpha-missingfields.txt.Fixes #13806
``
release-note
``NONE
This PR was generated by the overseer,greenfield,step/controller,overseer/review agent (powered by the gemini-3.7-flash model).