A user hit the following error during a promotion:
phase: Errored
message: 'error executing Argo CD promotion mechanism: error patching Argo CD
Application "guestbook": failed to apply
modifications to unstructured object: unable to update sources to
desired revisions: resource has been modified'
resource has been modified is a common scenario that Kargo should deal with transparently: by refetching the latest application object, reapplying the modifications, and retrying the update.
NOTE: if the conflict is with the .operation field, then we should not blow away what was set.
Description
A user hit the following error during a promotion:
resource has been modified
is a common scenario that Kargo should deal with transparently: by refetching the latest application object, reapplying the modifications, and retrying the update.NOTE: if the conflict is with the
.operation
field, then we should not blow away what was set.Version
Logs