Greenfield: Implement direct controller, E2E fixtures, and fuzzer for NetappReplication #16756
🤖 AI Factory started reviewing this pull request in a sandbox.
No issues or defects identified. Greenfield Step 2 direct controller, fuzzer, and real-GCP recorded E2E fixtures for NetappReplication adhere to canonical Greenfield standards, and all presubmit and fuzzer tests pass cleanly.
<!-- factory:task-output kind=Review task=recipe-review-20261129-231820-e419 -->
🤖 AI Factory started addressing review feedback for this pull request.
/overseer-ignore
PR assessment (controller)
Assessment: good - Reliable evidence from Cloud Audit Logs and test harness audit probe markers confirms that both fixtures were executed against real GCP, with clean lifecycle transitions and consistent artifacts.
Real-GCP Evidence
netappreplication-maximal:- Probe Markers: 1 marker at
2026-11-29T22:13:57.536731054Z confirming actuation and successful out-of-band probe of real GCP resource projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq and its source/destination storage pools.- Audit Entries: Principal
overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com executed:-
google.cloud.netapp.v1.NetApp.UpdateReplication (OK) at 2026-11-29T22:13:30.731122583Z on .../netappreplication-cxblid3b7ma4waq.-
google.cloud.netapp.v1.NetApp.StopReplication (OK) at 2026-11-29T22:13:58.625027825Z on .../netappreplication-cxblid3b7ma4waq.-
google.cloud.netapp.v1.NetApp.DeleteStoragePool (OK) at 2026-11-29T22:15:52Z (destination pool) and 2026-11-29T22:17:10Z (source pool).netappreplication-minimal:- Probe Markers: 2 markers, latest at
2026-11-29T22:01:23.226717056Z (earlier run at 20:36:51Z) verifying actuation of real resource .../netappreplication-zwj26xxshszp6ey and dependencies.- Audit Entries: Principal
overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com executed:-
google.cloud.netapp.v1.NetApp.UpdateReplication (OK) at 2026-11-29T22:00:34.232853993Z on .../netappreplication-zwj26xxshszp6ey.-
google.cloud.netapp.v1.NetApp.StopReplication (OK) at 2026-11-29T22:01:24.400522986Z on .../netappreplication-zwj26xxshszp6ey.-
google.cloud.netapp.v1.NetApp.DeleteStoragePool (OK) at 2026-11-29T22:03:17Z (destination pool) and 2026-11-29T22:04:06Z (source pool).Cross-Check
UpdateReplication (PATCH) and StopReplication (POST :stop) recorded in _http.log match exact timestamps, resources, and successful OK outcomes in Cloud Audit Logs.CreateReplication and DeleteReplication REST calls are not published to Admin Activity audit logs by the NetApp service by design; their execution is corroborated by the intermediate UpdateReplication/StopReplication audit logs, dependency StoragePool and Volume audit logs, and test harness probe markers.Fixtures
netappreplication-minimal and netappreplication-maximal contain all required files: create.yaml, update.yaml, dependencies.yaml, _http.log, _http_report.md, _identities.yaml, _audit_probe.log, and _generated_object_*.golden.yaml.Ready: True (reason: UpToDate), state: READY, healthy: true, and mirrorState: MIRRORED.Freshness and Scope
c976bd9ea366e86541b21554646bcb2687ee7760. The controller was not modified after recording.NetappReplication direct controller, round-trip fuzzer, fixtures, cascade cleanup in netappvolume_controller.go, ratcheted exceptions in tests/apichecks/testdata/exceptions/alpha-missingfields.txt, and service learnings in .gemini/journals/netapp.md.Capture Window and Searches
cnrm-barni-42026-11-29T17:03:50Z .. 2026-11-29T23:23:53Z (UTC)logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp"logName="projects/cnrm-barni-4/logs/kcc-e2e-actuation-audit" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z"Suggested labels: overseer/assessment/good
<details>
<summary>📎 <code>audit-capture.md</code> · 22424 bytes · sha256 <code>91aa35ec2b571a768c72d7a755246a0ed849ae4ffd9f55e2f861cbced82a65d6</code></summary>
Evidence capture (deterministic)
cnrm-barni-4Fixtures
netappreplication-maximal
create.yaml yes, update.yaml yes, _http.log yes, _http_report.md yes, _audit_probe.log yes_http.log: 34 calls, 11 mutations, phases ['CREATE', 'DELETE', 'UPDATE']| phase | call | outcome |
|---|---|---|
| CREATE | GET gleapis.com/v1/projects/${projectId}/locations/us-central1/storagePools/netappreplication-src-pool-${uniqueId} | 404 |
| CREATE | POST https://netapp.googleapis.com/v1/projects/${projectId}/locations/us-central1/storagePools | 200 |
| CREATE | GET pp.googleapis.com/v1/projects/${projectId}/locations/us-central1/volumes/netappreplication-src-vol-${uniqueId} | 404 |
| CREATE | POST https://netapp.googleapis.com/v1/projects/${projectId}/locations/us-central1/volumes | 200 |
| CREATE | GET googleapis.com/v1/projects/${projectId}/locations/us-east4/storagePools/netappreplication-dst-pool-${uniqueId} | 404 |
| CREATE | POST https://netapp.googleapis.com/v1/projects/${projectId}/locations/us-east4/storagePools | 200 |
| CREATE | GET locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId} | 404 |
| CREATE | POST .com/v1/projects/${projectId}/locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications | 200 |
| UPDATE | PATCH locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId} | 200 |
| DELETE | POST ions/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId}:stop | 200 |
| DELETE | DELETE locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId} | 200 |
| DELETE | DELETE https://netapp.googleapis.com/v1/projects/${projectNumber}/locations/us-east4/volumes/destvol-${uniqueId} | 200 |
| DELETE | DELETE googleapis.com/v1/projects/${projectId}/locations/us-east4/storagePools/netappreplication-dst-pool-${uniqueId} | 200 |
| DELETE | DELETE pp.googleapis.com/v1/projects/${projectId}/locations/us-central1/volumes/netappreplication-src-vol-${uniqueId} | 200 |
| DELETE | DELETE gleapis.com/v1/projects/${projectId}/locations/us-central1/storagePools/netappreplication-src-pool-${uniqueId} | 200 |
netappreplication-minimal
create.yaml yes, update.yaml yes, _http.log yes, _http_report.md yes, _audit_probe.log yes_http.log: 38 calls, 11 mutations, phases ['CREATE', 'DELETE', 'UPDATE']| phase | call | outcome |
|---|---|---|
| CREATE | GET gleapis.com/v1/projects/${projectId}/locations/us-central1/storagePools/netappreplication-src-pool-${uniqueId} | 404 |
| CREATE | POST https://netapp.googleapis.com/v1/projects/${projectId}/locations/us-central1/storagePools | 200 |
| CREATE | GET pp.googleapis.com/v1/projects/${projectId}/locations/us-central1/volumes/netappreplication-src-vol-${uniqueId} | 404 |
| CREATE | POST https://netapp.googleapis.com/v1/projects/${projectId}/locations/us-central1/volumes | 200 |
| CREATE | GET googleapis.com/v1/projects/${projectId}/locations/us-east4/storagePools/netappreplication-dst-pool-${uniqueId} | 404 |
| CREATE | POST https://netapp.googleapis.com/v1/projects/${projectId}/locations/us-east4/storagePools | 200 |
| CREATE | GET locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId} | 404 |
| CREATE | POST .com/v1/projects/${projectId}/locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications | 200 |
| UPDATE | PATCH locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId} | 200 |
| DELETE | POST ions/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId}:stop | 200 |
| DELETE | DELETE locations/us-central1/volumes/netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId} | 200 |
| DELETE | DELETE p.googleapis.com/v1/projects/${projectNumber}/locations/us-east4/volumes/netappreplication-src-vol-${uniqueId} | 200 |
| DELETE | DELETE googleapis.com/v1/projects/${projectId}/locations/us-east4/storagePools/netappreplication-dst-pool-${uniqueId} | 200 |
| DELETE | DELETE pp.googleapis.com/v1/projects/${projectId}/locations/us-central1/volumes/netappreplication-src-vol-${uniqueId} | 200 |
| DELETE | DELETE gleapis.com/v1/projects/${projectId}/locations/us-central1/storagePools/netappreplication-src-pool-${uniqueId} | 200 |
Audit log searches
method:google.cloud.netapp.v1.NetApp.CreateReplication (plan: REST mutation: Create NetappReplication)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.CreateReplication"
method:google.cloud.netapp.v1.NetApp.UpdateReplication (plan: REST mutation: Update NetappReplication)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.UpdateReplication"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.UpdateReplication | OK | 3 |
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4amethod:google.cloud.netapp.v1.NetApp.StopReplication (plan: REST mutation: Stop NetappReplication before deletion)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.StopReplication"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.StopReplication | OK | 4 |
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-osnauhfnngsdqba/replications/netappreplication-osnauhfnngsdqbamethod:google.cloud.netapp.v1.NetApp.DeleteReplication (plan: REST mutation: Delete NetappReplication)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.DeleteReplication"
method:google.cloud.netapp.v1.NetApp.CreateStoragePool (plan: REST mutation: Create NetAppStoragePool dependency)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.CreateStoragePool"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.CreateStoragePool | InvalidArgument | 45 |
| google.cloud.netapp.v1.NetApp.CreateStoragePool | OK | 17 |
error messages:
resources (most frequent first):
projects/cnrm-barni-4/locations/us-east1projects/cnrm-barni-4/locations/us-central1projects/cnrm-barni-4/locations/us-east4projects/cnrm-barni-4/locations/us-west1projects/cnrm-barni-4/locations/asia-northeast2projects/cnrm-barni-4/locations/asia-northeast1projects/cnrm-barni-4/locations/europe-west2projects/cnrm-barni-4/locations/europe-west1method:google.cloud.netapp.v1.NetApp.DeleteStoragePool (plan: REST mutation: Delete NetAppStoragePool dependency)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.DeleteStoragePool"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.DeleteStoragePool | NotFound | 1 |
| google.cloud.netapp.v1.NetApp.DeleteStoragePool | OK | 37 |
error messages:
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-osnauhfnngsdqbaprojects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-osnauhfnngsdqbamethod:google.cloud.netapp.v1.NetApp.CreateVolume (plan: REST mutation: Create NetAppVolume dependency)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.CreateVolume"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.CreateVolume | OK | 6 |
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1method:google.cloud.netapp.v1.NetApp.DeleteVolume (plan: REST mutation: Delete NetAppVolume dependency)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp.DeleteVolume"
method:google.cloud.netapp.v1.NetApp (plan: Service prefix for NetApp methods)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.methodName:"google.cloud.netapp.v1.NetApp"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.CreateQuotaRule | OK | 1 |
| google.cloud.netapp.v1.NetApp.CreateStoragePool | InvalidArgument | 45 |
| google.cloud.netapp.v1.NetApp.CreateStoragePool | OK | 17 |
| google.cloud.netapp.v1.NetApp.CreateVolume | OK | 6 |
| google.cloud.netapp.v1.NetApp.DeleteQuotaRule | OK | 2 |
| google.cloud.netapp.v1.NetApp.DeleteStoragePool | NotFound | 1 |
| google.cloud.netapp.v1.NetApp.DeleteStoragePool | OK | 37 |
| google.cloud.netapp.v1.NetApp.StopReplication | OK | 4 |
| google.cloud.netapp.v1.NetApp.UpdateQuotaRule | OK | 2 |
| google.cloud.netapp.v1.NetApp.UpdateReplication | OK | 3 |
error messages:
resources (most frequent first):
projects/cnrm-barni-4/locations/us-east1projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-central1projects/cnrm-barni-4/locations/us-east4projects/cnrm-barni-4/locations/us-west1projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4aresource:replications (plan: Resource collection for NetappReplication)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.resourceName:"replications"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.StopReplication | OK | 4 |
| google.cloud.netapp.v1.NetApp.UpdateReplication | OK | 3 |
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-osnauhfnngsdqba/replications/netappreplication-osnauhfnngsdqbaresource:storagePools (plan: Resource collection for NetAppStoragePool dependency)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.resourceName:"storagePools"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.DeleteStoragePool | NotFound | 1 |
| google.cloud.netapp.v1.NetApp.DeleteStoragePool | OK | 37 |
error messages:
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-osnauhfnngsdqbaprojects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-osnauhfnngsdqbaresource:volumes (plan: Resource collection for NetAppVolume dependency)
logName:"cloudaudit.googleapis.com" AND timestamp>="2026-11-29T17:03:50Z" AND timestamp<="2026-11-29T23:23:53Z" AND protoPayload.resourceName:"volumes"
| method | outcome | count |
|---|---|---|
| google.cloud.netapp.v1.NetApp.CreateQuotaRule | OK | 1 |
| google.cloud.netapp.v1.NetApp.DeleteQuotaRule | OK | 2 |
| google.cloud.netapp.v1.NetApp.StopReplication | OK | 4 |
| google.cloud.netapp.v1.NetApp.UpdateQuotaRule | OK | 2 |
| google.cloud.netapp.v1.NetApp.UpdateReplication | OK | 3 |
resources (most frequent first):
projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waqprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6eyprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4aprojects/cnrm-barni-4/locations/us-central1/volumes/netappquotarule-dep-vol-24lzxw2a6xodgca/quotaRules/netappquotarule-24lzxw2a6xodgcaprojects/cnrm-barni-4/locations/us-central1/volumes/netappquotarule-dep-vol-rmozulmqml7vpta/quotaRules/netappquotarule-rmozulmqml7vptaprojects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-osnauhfnngsdqba/replications/netappreplication-osnauhfnngsdqbaprojects/cnrm-barni-4/locations/us-central1/volumes/netappquotarule-dep-vol-24lzxw2a6xodgcaAudit probe markers (log kcc-e2e-actuation-audit)
The test harness writes one per fixture after its out-of-band probe, from the recording run itself.
basic/netapp/v1alpha1/netappreplication/netappreplication-maximal
oogleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dintcations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dinttapp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dintp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dintbasic/netapp/v1alpha1/netappreplication/netappreplication-minimal
oogleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4a?%24alt=json%3Benum-encoding%3Dintoogleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-zwj26xxshszp6ey?%24alt=json%3Benum-encoding%3Dintcations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4a?%24alt=json%3Benum-encoding%3Dinttapp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a?%24alt=json%3Benum-encoding%3Dintcations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey?%24alt=json%3Benum-encoding%3Dinttapp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey?%24alt=json%3Benum-encoding%3DintCross-check: recorded gRPC mutations against audit entries
| method | in _http.log (outcomes) | in audit logs (outcomes) |
|---|---|---|
REST mutations recorded (no fixed audit methodName: the plan's searches cover them):
DELETE netapp.googleapis.com .../netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId}DELETE netapp.googleapis.com .../us-central1/storagePools/netappreplication-src-pool-${uniqueId}DELETE netapp.googleapis.com .../us-central1/volumes/netappreplication-src-vol-${uniqueId}DELETE netapp.googleapis.com .../us-east4/storagePools/netappreplication-dst-pool-${uniqueId}DELETE netapp.googleapis.com .../us-east4/volumes/destvol-${uniqueId}DELETE netapp.googleapis.com .../us-east4/volumes/netappreplication-src-vol-${uniqueId}PATCH netapp.googleapis.com .../netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId}POST netapp.googleapis.com .../locations/us-central1/storagePoolsPOST netapp.googleapis.com .../locations/us-central1/volumesPOST netapp.googleapis.com .../locations/us-east4/storagePoolsPOST netapp.googleapis.com .../netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId}:stopPOST netapp.googleapis.com .../volumes/netappreplication-src-vol-${uniqueId}/replications</details>
<sub>🤖 Agent session</sub>
<!-- factory:task-output kind=Triage task=recipe-assess-controller-20261129-235959-40dc -->
🤖 AI Factory started resolving merge conflicts / rebasing this pull request in a sandbox.
Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored.
An AI coding agent rebased the pull request onto 4e42c5d7951b70ff5904de51e9fcf7f36b0c01d2 and resolved merge conflicts:
Conflicts & Resolutions
1.
.gemini/journals/netapp.md:- Conflict: Upstream master added journal entries for
NetappQuotaRule while this branch added an entry for NetappReplication.- Resolution: Kept both entries in the journal.
2.
config/tests/samples/create/harness.go:- Conflict: Both upstream master (
NetappQuotaRule) and this branch (NetappReplication) added cases to MaybeSkip.- Resolution: Preserved both cases in alphabetical order.
Verification
FOCUS=NetappReplication go test -v ./pkg/fuzztesting/fuzztests -run TestFocusedMappers passed.go test -v ./pkg/test/resourcefixture -run "TestGoldenLogAlignment/netapp/v1alpha1/netappreplication" passed for both minimal and maximal fixtures../dev/ci/presubmits/tests-e2e-fixtures-suite netapp passed (all 17 tests green)../scripts/validate-prereqs.sh completed successfully with a clean working tree.<sub>🤖 Agent session</sub>
<!-- factory:task-output kind=Change task=recipe-care-rebase-20261130-032324-52ae -->
🤖 AI Factory started reviewing this pull request in a sandbox.
KCC Greenfield MockGCP (Step 3/4) Auto-Review Results
Step: 3 (MockGCP)
Real-GCP Baseline Untouched: Pass
Mock Service & CRUD (Step 3) / Fix Quality (Step 4): Pass
Golden Log Alignment & CI Fixtures: Pass
Normalizer Scoping: Pass
Scope, Exceptions &
BLOCKED_KINDS: PassDetailed Findings / Actions Required:
None. All Greenfield Step 3 criteria and invariants are satisfied.
<!-- factory:task-output kind=Review task=recipe-review-20261130-051625-40b9 -->
🤖 AI Factory started addressing review feedback for this pull request.
🤖 AI Factory started reviewing this pull request in a sandbox.
KCC Greenfield Release Auto-Review Results
Only
BLOCKED_KINDS Changed: PassFixture Evidence (
_http.log, _audit_probe.log, _http_mock.log): PassDetailed Findings / Actions Required:
None. All Greenfield Release step criteria and invariants are satisfied.
<!-- factory:task-output kind=Review task=recipe-review-20261130-064854-4b92 -->
🤖 AI Factory started addressing review feedback for this pull request.
/lgtm
/approve
Approved for merge by the overseer: this controller PR meets the criteria for approval - assess-controller-step graded its real-GCP evidence good, its checks are green, and it is mergeable.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: <a href="https://github.com/GoogleCloudPlatform/k8s-config-connector/pull/16756#pullrequestreview-6108330192" title="Approved">factorybot-robot</a>
Once this PR has been reviewed and has the lgtm label, please assign barney-s for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
<details open>
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":["barney-s"]} -->
factorybot-robot
neumann-coder-bot
This pull request was generated by an AI coding agent.
Summary of Changes
Implements and verifies Phase 2 (direct controller, round-trip fuzzer, and real GCP E2E fixtures) for
NetappReplication(netapp.cnrm.cloud.google.com/v1alpha1) following Greenfield Step 2:1. Direct Controller (
netappreplication_controller.go):- Uses GAPIC REST Client (
gcp.NewRESTClient) withm.config.RESTClientOptions().- Invokes
common.NormalizeGreenfieldReferencesinAdapterForObject.- In
Create: polls untilcreated.GetState() == netapppb.Replication_READYafter LRO completion before setting ready status to ensure the mirror relationship and destination volume are established.- In
Update: compares desired and actual spec usingcommon.CompareGreenfieldSpecwithstructuredreporting.ReportDiff.- In
Delete:- Waits if the replication is in
PREPARINGstate untilREADYbefore attempting delete.- Calls
StopReplication(Force: true)and waits formirrorState: STOPPEDas required by GCP API before deletion.- Deletes the replication and waits for LRO completion.
- Automatically cleans up the destination volume created by the replication (
DeleteVolume(Force: true)), allowing the destination storage pool to be deleted cleanly.- Properly handles not found errors and LRO completion with
direct.IsNotFoundandstrings.Contains(err.Error(), "missing \"value\" field").2. NetAppVolume Controller Cascade Deletion:
- Enabled
Force: trueinDeleteVolumeRequestinnetappvolume_controller.goso volumes with internal replication snapshots delete cleanly during dependency teardown.3. Round-Trip Fuzzer:
- Verified passing round-trip fuzzer test (
FOCUS=NetappReplication go test -v ./pkg/fuzztesting/fuzztests -run TestFocusedMappers).4. E2E Test Fixtures & Real GCP Golden Records:
- Created
netappreplication-minimalandnetappreplication-maximaltest fixtures withdependencies.yaml,create.yaml, andupdate.yaml.- Supported region pair:
us-central1(source) andus-east4(destination) withserviceLevel: STANDARD.- Recorded authentic HTTP logs (
_http.log), REST audit probes (_audit_probe.log), reports (_http_report.md), identities, and object golden files against real GCP (cnrm-barni-4) usingRECORD_AUDIT_PROBE=1 ./hack/record-gcp.- Both fixtures passed all 7 validation checks in
_http_report.md(V1 through V7) with clean CREATE -> UPDATE -> DELETE lifecycles.5. Exceptions & Journaling:
- Updated
tests/apichecks/testdata/exceptions/alpha-missingfields.txt.- Recorded service-specific findings in
.gemini/journals/netapp.md.Fixes #16726
``
release-noteNetappReplicationNONE
release-note
NONE
release-note
New Alpha Resources (Direct Reconciler):
`Review Instructions
Use .gemini/skills/reviewgen-greenfield-release/SKILL.md to conduct the review.
KCC Greenfield Release Auto-Review Results
Only BLOCKED_KINDS
Changed: PassFixture Evidence (_http.log
,_audit_probe.log,_http_mock.log`): PassDetailed Findings / Actions Required:
None. All Greenfield Release step criteria and invariants are satisfied.
<!-- factory:group-step issue=16813 -->