Greenfield: Implement direct controller, E2E fixtures, and fuzzer for VisionAIApplication - #13634
hopper-coder-bot wants to merge 1 commit into
Conversation
GCP Audit Logs VerificationThe following audit log entries verify that the direct controller for [
{
"logName": "projects/cnrm-barni-4/logs/cloudaudit.googleapis.com%2Factivity",
"methodName": "google.cloud.visionai.v1.AppPlatform.CreateApplication",
"resourceName": "projects/cnrm-barni-4/locations/us-central1/applications/visionaiapplication-minimal-atokyeqpfl5cbdi",
"serviceName": "visionai.googleapis.com",
"timestamp": "2026-10-01T23:38:33Z"
},
{
"logName": "projects/cnrm-barni-4/logs/cloudaudit.googleapis.com%2Factivity",
"methodName": "google.cloud.visionai.v1.AppPlatform.UpdateApplication",
"resourceName": "projects/cnrm-barni-4/locations/us-central1/applications/visionaiapplication-minimal-atokyeqpfl5cbdi",
"serviceName": "visionai.googleapis.com",
"timestamp": "2026-10-01T23:38:34Z"
},
{
"logName": "projects/cnrm-barni-4/logs/cloudaudit.googleapis.com%2Factivity",
"methodName": "google.cloud.visionai.v1.AppPlatform.DeleteApplication",
"resourceName": "projects/cnrm-barni-4/locations/us-central1/applications/visionaiapplication-minimal-atokyeqpfl5cbdi",
"serviceName": "visionai.googleapis.com",
"timestamp": "2026-10-01T23:38:37Z"
}
] |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
🤖 AI Factory started investigating CI check failures for this pull request. 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. |
0cb265c to
aaf2e8a
Compare
Investigating validate-ensure failureRun: 36950806733 (This report was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. 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. |
… VisionAIApplication Issue: 13597
aaf2e8a to
add1bf4
Compare
Investigating unit-tests-1-of-4 failureRun: 36956229857 Investigating tests-e2e-direct-iam failureRun: 36956229857 (This report was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. 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. |
Investigating tests-e2e-fixtures-gkehub failureRun: 36962944141 (This report was generated by overseer) |
|
🤖 AI Factory started reviewing this pull request in a sandbox. |
reviewbot-robot
left a comment
There was a problem hiding this comment.
KCC Auto-Review Results
- Trigger criteria matched: Yes
- Client Creation: Pass
- Default Reconciler Kept: Pass
- Proto Diffs & Update Mask: Pass
- Structured Reporting: Pass
- KRM Status Updates: Pass
- LRO Wait: Pass
- Test Coverage: Pass
Detailed Findings / Actions Required:
None. The Greenfield direct controller implementation, type fuzzer, and minimal/maximal test fixtures follow all Config Connector standards and guidelines.
|
🤖 AI Factory started addressing review feedback for this pull request. |
|
All automated review checks from (This comment was generated by overseer) |
Description
This PR implements the direct controller, E2E fixtures, and fuzzer for the greenfield resource
VisionAIApplication(visionai.cnrm.cloud.google.com/v1alpha1).Key Changes
pkg/controller/direct/visionai/visionaiapplication_controller.gosupportingFind,Create,Update,Delete, andExportoperations using the GAPIC REST client (cloud.google.com/go/visionai/apiv1).ParentString()helper onVisionAIApplicationIdentitywith unit tests inapis/visionai/v1alpha1/visionaiapplication_identity_test.go.eventDeliveryConfigincompareVisionAIApplicationusing updateTime / observedGeneration matching.generate-mappertoapis/visionai/generate.shand generatedpkg/controller/direct/visionai/mapper.generated.go.pkg/controller/direct/visionai/visionaiapplication_fuzzer.gocovering all Spec and Status/ObservedState fields.direct.Struct_ToProtoinpkg/controller/direct/maputils.goto handle empty JSON raw payloads gracefully.visionaiinpkg/controller/direct/register/register.go.VisionAIApplicationinpkg/controller/resourceconfig/static_config.go.pkg/test/resourcefixture/testdata/basic/visionai/v1alpha1/visionaiapplication/.RECORD_AUDIT_PROBE=1 ./hack/record-gcpin projectcnrm-barni-4.tests/apichecks/testdata/exceptions/alpha-missingfields.txt.Fixes #13597
This PR was generated by the overseer,greenfield,step/controller,overseer/review agent (powered by the gemini-3.7-flash model).