You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
skipAwait behavior when applied to deletes is racy and often not what you want -- usually a background cascade is more appropriate. See Eron's comment here.
We should re-evaluate the default behavior of the skipAwait annotation in v5. Some options:
Make skipAwait only apply to readiness, and don't use it at all for deletes. Have the user specify pulumi.com/deletionPropagationPolicy to change delete behavior.
Make skipAwait apply to readiness and delete, but for deletions treat interpret it as a background delete. Fewer annotations for the user to have to know about.
Worth mentioning one (questionable) use for skipAwait with delete today is that it allows the user to skip stuck finalizers, which should generally be avoided but is sometimes necessary. Related #3153.
The text was updated successfully, but these errors were encountered:
skipAwait
behavior when applied to deletes is racy and often not what you want -- usually a background cascade is more appropriate. See Eron's comment here.We should re-evaluate the default behavior of the skipAwait annotation in v5. Some options:
pulumi.com/deletionPropagationPolicy
to change delete behavior.Worth mentioning one (questionable) use for skipAwait with delete today is that it allows the user to skip stuck finalizers, which should generally be avoided but is sometimes necessary. Related #3153.
The text was updated successfully, but these errors were encountered: