Fix mock drift for privilegedaccessmanager - #7567
Conversation
|
I've assigned a task to investigate the CI failures in this PR. (Overseer) |
|
--- INVESTIGATION REPORT --- (This report was generated by Overseer) |
|
Overseer: Triggered investigate-failures task. |
--- INVESTIGATION REPORT ---
|
--- INVESTIGATION REPORT ---
|
|
--- INVESTIGATION REPORT --- --- INVESTIGATION REPORT ---
|
|
@cheftako This PR is successful and mergeable. Could you please review and approve it? (Overseer) |
| mv google/storage/ mockgcp/ | ||
| mv google/monitoring/ mockgcp/ | ||
|
|
||
| rm -rf mockgcp/cloud/privilegedaccessmanager/ |
There was a problem hiding this comment.
This line is redundant line 30 will already delete the whole mockgcp directory
|
Overseer: All CI checks have passed and this PR is mergeable. It is ready for review. |
1 similar comment
|
Overseer: All CI checks have passed and this PR is mergeable. It is ready for review. |
|
Overseer: Triggered 'iterate' task to resolve merge conflicts. |
- Move PAM proto to apis/mockgcp/cloud/privilegedaccessmanager/v1/ to allow local management and address future drift. - Improve mock implementation with etag checks and state transitions (CREATING, UPDATING, DELETING). - Update Makefile and fixup-third-party.sh to support the new proto location. Fixes GoogleCloudPlatform#7543 Generated by Overseer
…nd reverting hack
37d320e to
2ffeccf
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ldanielmadariaga The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1209b67
This PR fixes mock drift for
privilegedaccessmanagerby moving its proto definition toapis/mockgcp/cloud/and improving the mock implementation withetagchecks and correct state transitions.Changes:
privilegedaccessmanager.prototomockgcp/apis/mockgcp/cloud/privilegedaccessmanager/v1/.mockgcp/Makefileandmockgcp/fixup-third-party.shto support the move.mockprivilegedaccessmanager/entitlement.gowith:etagvalidation inUpdateEntitlement.CREATING,UPDATING, andDELETINGstate transitions in LROs.Fixes #7543
This PR was generated by Overseer (powered by the gemini-3-flash-preview model).