← Back to Pull requests

Greenfield: Implement direct controller, E2E fixtures, and fuzzer for NetappReplication #16756

Merged
neumann-coder-bot merged 27 files (6253 lines) on Nov 30, 2026 08:07 UTC
View on GitHub
neumann-coder-bot neumann-coder-bot commented on Nov 29, 2026 22:34 UTC
Author

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) with m.config.RESTClientOptions().
- Invokes common.NormalizeGreenfieldReferences in AdapterForObject.
- In Create: polls until created.GetState() == netapppb.Replication_READY after LRO completion before setting ready status to ensure the mirror relationship and destination volume are established.
- In Update: compares desired and actual spec using common.CompareGreenfieldSpec with structuredreporting.ReportDiff.
- In Delete:
- Waits if the replication is in PREPARING state until READY before attempting delete.
- Calls StopReplication(Force: true) and waits for mirrorState: STOPPED as 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.IsNotFound and strings.Contains(err.Error(), "missing \"value\" field").

2. NetAppVolume Controller Cascade Deletion:
- Enabled Force: true in DeleteVolumeRequest in netappvolume_controller.go so 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-minimal and netappreplication-maximal test fixtures with dependencies.yaml, create.yaml, and update.yaml.
- Supported region pair: us-central1 (source) and us-east4 (destination) with serviceLevel: 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) using RECORD_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-note
NONE


## Review Instructions

Use .gemini/skills/reviewgen-greenfield-controller/SKILL.md to conduct the review.

### KCC Greenfield Step 2 Controller Auto-Review Results
* **Deterministic Controller & Fuzzer Generation**: Pass (`netappreplication_controller.go` contains `// +generated:controller`, fuzzer contains `// +generated:fuzzer`, `apis/netapp/generate.sh` does NOT invoke `generate-controller` or `generate-fuzzer`)
* **GAPIC REST Client Usage**: Pass (`gcp.NewRESTClient` with `m.config.RESTClientOptions()`)
* **Reference Normalization**: Pass (`common.NormalizeGreenfieldReferences` in `AdapterForObject`)
* **Spec Comparison & Diff Reporting**: Pass (`common.CompareGreenfieldSpec` with `structuredreporting.ReportDiff`)
* **NotFound and LRO Error Handling**: Pass (`direct.IsNotFound` and `strings.Contains(err.Error(), "missing \"value\" field")`)
* **Round-Trip Fuzzer Test**: Pass (`TestFocusedMappers/NetappReplication` passed)
* **E2E Fixture Completeness & Lifecycle Reports**: Pass (minimal and maximal fixtures exist, 7/7 checks passed in `_http_report.md`)
* **Authentic Audit Probes**: Pass (`_audit_probe.log` generated with `RECORD_AUDIT_PROBE=1` in both fixtures)
* **Ratcheting & Exceptions**: Pass (`alpha-missingfields.txt` updated)
* **Journaling**: Pass (`.gemini/journals/netapp.md` updated)

#### Detailed Findings / Actions Required:
None. All Greenfield Step 2 controller criteria and invariants are satisfied.

<sub>🤖 [Agent session](https://staging.repoagent.dev/#/overseers/kcc/task-session/fix-k8s-config-connector-16726/recipe-fix-20261129-170702-2f0a)</sub>

<!-- factory:task-output kind=Change task=recipe-fix-20261129-170702-2f0a -->

---

### Greenfield: Implement MockGCP and Alignment for NetappReplication

Implement Phase 3 (MockGCP and Alignment) for `NetappReplication` (`netapp.cnrm.cloud.google.com/v1alpha1`) following Greenfield Step 3 (.gemini/skills/kcc-direct-mockgcp-implementer/SKILL.md):

- Implemented `GetReplication`, `ListReplications`, `CreateReplication`, `UpdateReplication`, `DeleteReplication`, `StopReplication`, `ResumeReplication`, `ReverseReplicationDirection`, and `SyncReplication` in `mockgcp/mocknetapp/replication.go`.
- Handled replication resource name parsing, parent volume existence verification, destination volume automatic provisioning and canonical resource naming in mock storage for clean deletion.
- Registered `NetappReplication` in `config/tests/samples/create/harness.go`.
- Filtered intermediate "Create in progress" polling GET events and volatile `transferStats` in `pkg/test/resourcefixture/golden_alignment_test.go`.
- Normalized volatile `transferStats` in `tests/e2e/normalize.go` so real-GCP baseline golden files remain untouched and `TestCommittedHTTPLogReports` passes.
- Generated mock HTTP logs (`_http_mock.log`) for `netappreplication-minimal` and `netappreplication-maximal` test fixtures.
- Verified log alignment and E2E fixtures with `./hack/compare-mock`, `TestGoldenLogAlignment`, `TestCommittedHTTPLogReports`, `scripts/validate-prereqs.sh`, and `./dev/ci/presubmits/tests-e2e-fixtures-suite netapp`.

This pull request was generated by an AI coding agent.

Fixes #16772

release-note
NONE

## Review Instructions

Use .gemini/skills/reviewgen-greenfield-mockgcp/SKILL.md to conduct the review.

### KCC Greenfield Step 3 MockGCP Auto-Review Results
* **Real-GCP baseline**: Pass
* **Mock service**: Pass
* **Golden Log Alignment & CI Fixtures**: Pass
* **Normalizer Scoping**: Pass
* **Scope, Exceptions & `BLOCKED_KINDS`**: Pass

#### Detailed Findings / Actions Required:
None. All Greenfield Step 3 criteria and invariants are satisfied.

<!-- factory:group-step issue=16772 -->

---

### Greenfield: Release NetappReplication (remove it from BLOCKED_KINDS)

This pull request was generated by an AI coding agent.

Remove `NetappReplication` from `BLOCKED_KINDS` in `dev/tasks/build-release-bundle`.

All prerequisites and prior Greenfield steps for `NetappReplication` are complete:
- Direct KRM types, identity, reference, and CRD generated and finalized.
- Direct controller, fuzzer, and minimal/maximal E2E fixtures implemented.
- Verified all fixtures under `pkg/test/resourcefixture/testdata/basic/netapp/v1alpha1/netappreplication/` have authentic real-GCP `_http.log`, `_audit_probe.log`, and `_http_mock.log`.
- MockGCP CRUD methods implemented and verified; mock E2E fixtures pass cleanly with zero discrepancies.
- NetappReplication is ready to ship in the release bundle.

Fixes #16813

release-note
New Alpha Resources (Direct Reconciler):
NetappReplication
`

Review Instructions

Use .gemini/skills/reviewgen-greenfield-release/SKILL.md to conduct the review.

KCC Greenfield Release Auto-Review Results


Only
BLOCKED_KINDS Changed: Pass
Fixture Evidence (_http.log, _audit_probe.log, _http_mock.log`): Pass
  • Release Note: Pass
  • Detailed Findings / Actions Required:


    None. All Greenfield Release step criteria and invariants are satisfied.

    <!-- factory:group-step issue=16813 -->

    Diff: 6253 lines (+6234 / -19) across 27 files Reviewer: factorybot-robot Review duration: 573m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.72) × (1 − Review Confidence (0.79)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.72 · 6253 lines diff across 27 files
    0.72
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.61 · 5 substantive comment(s)
    0.61
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    79%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.400
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    15 items
    argus-watcher-bot argus-watcher-bot commented on Nov 29, 2026 23:13 UTC
    Bot

    🤖 AI Factory started reviewing this pull request in a sandbox.

    reviewbot-robot reviewbot-robot commented on Nov 29, 2026 23:26 UTC
    Reviewer

    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 -->

    argus-watcher-bot argus-watcher-bot commented on Nov 29, 2026 23:37 UTC
    Bot

    🤖 AI Factory started addressing review feedback for this pull request.

    reviewbot-robot reviewbot-robot commented on Nov 30, 2026 00:05 UTC
    Contributor

    /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.

  • No contradictions exist between the recorded HTTP traffic, golden files, and Cloud Audit Log entries.
  • Fixtures


  • Both 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.

  • Both golden objects end with Ready: True (reason: UpToDate), state: READY, healthy: true, and mirrorState: MIRRORED.

  • HTTP logs reflect clean lifecycles (CREATE -> UPDATE -> DELETE) with no 4xx/5xx errors beyond expected initial 404 existence checks.
  • Freshness and Scope


  • Freshness: Controller and fixture files were committed together in commit c976bd9ea366e86541b21554646bcb2687ee7760. The controller was not modified after recording.

  • Scope: Changes are strictly scoped to the 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


  • Project: cnrm-barni-4

  • Window: 2026-11-29T17:03:50Z .. 2026-11-29T23:23:53Z (UTC)

  • Audit Log Query:

  • 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"
  • Audit Probe Marker Query:

  • 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)

  • Project: cnrm-barni-4

  • Window: 2026-11-29T17:03:50Z .. 2026-11-29T23:23:53Z (UTC)

  • Fixture commits (author dates): 1, first 2026-11-29T22:23:53Z, last 2026-11-29T22:23:53Z

  • Note: window end moved from 2026-11-29T22:34:02Z to cover the last fixture commit (2026-11-29T22:23:53Z)
  • Fixtures

    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']

  • calls not OK (404 aside): 0
  • | 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']

  • calls not OK (404 aside): 0
  • | 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"

  • entries: 0
  • 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"

  • entries: 3

  • first 2026-11-29T20:35:30.023486622Z, last 2026-11-29T22:13:30.731122583Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 3}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.UpdateReplication | OK | 3 |

    resources (most frequent first):

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4a
  • method: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"

  • entries: 4

  • first 2026-11-29T20:22:10.816931750Z, last 2026-11-29T22:13:58.625027825Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 4}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.StopReplication | OK | 4 |

    resources (most frequent first):

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4a

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-osnauhfnngsdqba/replications/netappreplication-osnauhfnngsdqba
  • method: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"

  • entries: 0
  • 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"

  • entries: 62

  • first 2026-11-29T17:08:18.797533224Z, last 2026-11-29T22:06:34.572831723Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 62}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.CreateStoragePool | InvalidArgument | 45 |
    | google.cloud.netapp.v1.NetApp.CreateStoragePool | OK | 17 |

    error messages:

  • 37x STANDARD service level is not currently supported in this location "us-east1".

  • 1x STANDARD service level is not currently supported in this location "asia-northeast2".

  • 1x STANDARD service level is not currently supported in this location "asia-northeast1".

  • 1x STANDARD service level is not currently supported in this location "europe-west1".

  • 1x STANDARD service level is not currently supported in this location "us-south1".
  • resources (most frequent first):

  • 37x projects/cnrm-barni-4/locations/us-east1

  • 6x projects/cnrm-barni-4/locations/us-central1

  • 5x projects/cnrm-barni-4/locations/us-east4

  • 3x projects/cnrm-barni-4/locations/us-west1

  • 1x projects/cnrm-barni-4/locations/asia-northeast2

  • 1x projects/cnrm-barni-4/locations/asia-northeast1

  • 1x projects/cnrm-barni-4/locations/europe-west2

  • 1x projects/cnrm-barni-4/locations/europe-west1
  • method: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"

  • entries: 38

  • first 2026-11-29T17:06:48.173582949Z, last 2026-11-29T22:17:10.991690465Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 38}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.DeleteStoragePool | NotFound | 1 |
    | google.cloud.netapp.v1.NetApp.DeleteStoragePool | OK | 37 |

    error messages:

  • 1x Resource 'projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4a' was not found
  • resources (most frequent first):

  • 19x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4a

  • 2x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4a

  • 2x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-osnauhfnngsdqba

  • 1x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-cxblid3b7ma4waq

  • 1x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-cxblid3b7ma4waq

  • 1x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-zwj26xxshszp6ey

  • 1x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-zwj26xxshszp6ey

  • 1x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-osnauhfnngsdqba
  • method: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"

  • entries: 6

  • first 2026-11-29T17:08:23.549495124Z, last 2026-11-29T22:05:44.277759109Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 6}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.CreateVolume | OK | 6 |

    resources (most frequent first):

  • 6x projects/cnrm-barni-4/locations/us-central1
  • method: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"

  • entries: 0
  • 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"

  • entries: 118

  • first 2026-11-29T17:04:13.742818601Z, last 2026-11-29T22:17:10.991690465Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 118}
  • | 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:

  • 37x STANDARD service level is not currently supported in this location "us-east1".

  • 1x Resource 'projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4a' was not found

  • 1x STANDARD service level is not currently supported in this location "asia-northeast2".

  • 1x STANDARD service level is not currently supported in this location "asia-northeast1".

  • 1x STANDARD service level is not currently supported in this location "europe-west1".
  • resources (most frequent first):

  • 37x projects/cnrm-barni-4/locations/us-east1

  • 19x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4a

  • 12x projects/cnrm-barni-4/locations/us-central1

  • 5x projects/cnrm-barni-4/locations/us-east4

  • 3x projects/cnrm-barni-4/locations/us-west1

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey

  • 2x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4a
  • resource: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"

  • entries: 7

  • first 2026-11-29T20:22:10.816931750Z, last 2026-11-29T22:13:58.625027825Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 7}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.StopReplication | OK | 4 |
    | google.cloud.netapp.v1.NetApp.UpdateReplication | OK | 3 |

    resources (most frequent first):

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4a

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-osnauhfnngsdqba/replications/netappreplication-osnauhfnngsdqba
  • resource: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"

  • entries: 38

  • first 2026-11-29T17:06:48.173582949Z, last 2026-11-29T22:17:10.991690465Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 38}
  • | method | outcome | count |
    |---|---|---|
    | google.cloud.netapp.v1.NetApp.DeleteStoragePool | NotFound | 1 |
    | google.cloud.netapp.v1.NetApp.DeleteStoragePool | OK | 37 |

    error messages:

  • 1x Resource 'projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4a' was not found
  • resources (most frequent first):

  • 19x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4a

  • 2x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-4uchzjm3a47dj4a

  • 2x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-osnauhfnngsdqba

  • 1x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-cxblid3b7ma4waq

  • 1x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-cxblid3b7ma4waq

  • 1x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-zwj26xxshszp6ey

  • 1x projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-zwj26xxshszp6ey

  • 1x projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-osnauhfnngsdqba
  • resource: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"

  • entries: 12

  • first 2026-11-29T17:04:13.742818601Z, last 2026-11-29T22:13:58.625027825Z

  • principals: {'overseer-kcc-tester@cnrm-barni-4.iam.gserviceaccount.com': 12}
  • | 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):

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4a

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappquotarule-dep-vol-24lzxw2a6xodgca/quotaRules/netappquotarule-24lzxw2a6xodgca

  • 2x projects/cnrm-barni-4/locations/us-central1/volumes/netappquotarule-dep-vol-rmozulmqml7vpta/quotaRules/netappquotarule-rmozulmqml7vpta

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-osnauhfnngsdqba/replications/netappreplication-osnauhfnngsdqba

  • 1x projects/cnrm-barni-4/locations/us-central1/volumes/netappquotarule-dep-vol-24lzxw2a6xodgca
  • Audit 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

  • markers: 1, first 2026-11-29T22:13:57.536731054Z, last 2026-11-29T22:13:57.536731054Z

  • probed oogleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dint

  • probed cations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq/replications/netappreplication-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dint

  • probed tapp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dint

  • probed p.googleapis.com/v1/projects/cnrm-barni-4/locations/us-east4/storagePools/netappreplication-dst-pool-cxblid3b7ma4waq?%24alt=json%3Benum-encoding%3Dint
  • basic/netapp/v1alpha1/netappreplication/netappreplication-minimal

  • markers: 2, first 2026-11-29T20:36:51.231911008Z, last 2026-11-29T22:01:23.226717056Z

  • probed oogleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-4uchzjm3a47dj4a?%24alt=json%3Benum-encoding%3Dint

  • probed oogleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/storagePools/netappreplication-src-pool-zwj26xxshszp6ey?%24alt=json%3Benum-encoding%3Dint

  • probed cations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a/replications/netappreplication-4uchzjm3a47dj4a?%24alt=json%3Benum-encoding%3Dint

  • probed tapp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-4uchzjm3a47dj4a?%24alt=json%3Benum-encoding%3Dint

  • probed cations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey/replications/netappreplication-zwj26xxshszp6ey?%24alt=json%3Benum-encoding%3Dint

  • probed tapp.googleapis.com/v1/projects/cnrm-barni-4/locations/us-central1/volumes/netappreplication-src-vol-zwj26xxshszp6ey?%24alt=json%3Benum-encoding%3Dint
  • Cross-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/storagePools

  • POST netapp.googleapis.com .../locations/us-central1/volumes

  • POST netapp.googleapis.com .../locations/us-east4/storagePools

  • POST netapp.googleapis.com .../netappreplication-src-vol-${uniqueId}/replications/netappreplication-${uniqueId}:stop

  • POST 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 -->

    argus-watcher-bot argus-watcher-bot commented on Nov 30, 2026 03:23 UTC
    Bot

    🤖 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.

    neumann-coder-bot neumann-coder-bot commented on Nov 30, 2026 04:34 UTC
    Author

    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 -->

    argus-watcher-bot argus-watcher-bot commented on Nov 30, 2026 05:13 UTC
    Bot

    🤖 AI Factory started reviewing this pull request in a sandbox.

    reviewbot-robot reviewbot-robot commented on Nov 30, 2026 05:26 UTC
    Reviewer

    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: Pass

    Detailed Findings / Actions Required:


    None. All Greenfield Step 3 criteria and invariants are satisfied.

    <!-- factory:task-output kind=Review task=recipe-review-20261130-051625-40b9 -->

    argus-watcher-bot argus-watcher-bot commented on Nov 30, 2026 05:33 UTC
    Bot

    🤖 AI Factory started addressing review feedback for this pull request.

    argus-watcher-bot argus-watcher-bot commented on Nov 30, 2026 06:46 UTC
    Bot

    🤖 AI Factory started reviewing this pull request in a sandbox.

    reviewbot-robot reviewbot-robot commented on Nov 30, 2026 06:57 UTC
    Reviewer

    KCC Greenfield Release Auto-Review Results


    Only BLOCKED_KINDS Changed: Pass
    Fixture Evidence (_http.log, _audit_probe.log, _http_mock.log): Pass
  • Release Note: Pass
  • Detailed Findings / Actions Required:


    None. All Greenfield Release step criteria and invariants are satisfied.

    <!-- factory:task-output kind=Review task=recipe-review-20261130-064854-4b92 -->

    argus-watcher-bot argus-watcher-bot commented on Nov 30, 2026 07:06 UTC
    Bot

    🤖 AI Factory started addressing review feedback for this pull request.

    factorybot-robot factorybot-robot approved these changes on Nov 30, 2026 07:33 UTC
    Approved Reviewer

    /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.

    google-oss-prow[bot] google-oss-prow[bot] commented on Nov 30, 2026 07:33 UTC
    Bot

    [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:

  • OWNERS
  • 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"]} -->

    Assignees
    neumann-coder-bot neumann-coder-bot
    Labels
    risk: low confidence: 79.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 71.5% (HIGH) · Higher = larger blast radius
    71.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 79.2% · Lower = rushed or shallow review
    79.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.8% · Safe to merge
    14.8%