fix: retain inventory for pruning fail/skip#622
fix: retain inventory for pruning fail/skip#622k8s-ci-robot merged 1 commit intokubernetes-sigs:masterfrom
Conversation
|
Welcome @sdowell! |
|
Hi @sdowell. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @karlkfi |
858bd76 to
1cb7531
Compare
karlkfi
left a comment
There was a problem hiding this comment.
good start!
needs some e2e tests validating that destroy can fail, be retried, and succeed.
1cb7531 to
4947cec
Compare
|
@karlkfi Added an e2e test and updated the logic to not consider delete/reconcile skips. I also added timeoutReconciles as a condition to consider a failure |
4947cec to
ff34124
Compare
|
/ok-to-test |
ff34124 to
aa6ad0c
Compare
aa6ad0c to
d0cd736
Compare
d0cd736 to
f6c9f33
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: karlkfi, sdowell 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 |
|
/retest |
|
|
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Prior to this change, the inventory always was deleted at the end of a Destroy event. This would occur even in the case of a pruning failure, resulting in the objects being removed from the inventory without being deleted. This change makes it so that the inventory is only deleted if all objects have been pruned.
f6c9f33 to
1c4eae9
Compare
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/test cli-utils-presubmit-master-stress |
|
/retest |
|
/test cli-utils-presubmit-master-stress |
2 similar comments
|
/test cli-utils-presubmit-master-stress |
|
/test cli-utils-presubmit-master-stress |
|
/lgtm |
Prior to this change, the inventory always was deleted at the end of a Destroy event. This would occur even in the case of a pruning skip/failure, resulting in the objects being removed from the inventory without being deleted. This change makes it so that the inventory is only deleted if all objects have been deleted and reconciled.