Closed
Description
WaitTask currently ignores failed applies and failed prunes, but doesn't ignore resources skipped by filters in the ApplyTask or WaitTask.
Because WaitTasks are only added when there are dependencies (depends-on, CRDs, namespaces, etc.), this hasn't been much of a problem yet, but when using a sufficiently large/complex set of resources, it's feasible for the WaitTask to wait until timeout and fail because it's waiting for one of the following:
- [deletion prevention, inventory policy, local namespace] Expecting a delete that was skipped to cause that object to become NotFound
- [inventory policy] Expecting an apply that was skipped to cause the object (previously different or broken) to become Current
Suggested fix:
- Add tracking of skipped deletions and applies to the TaskContext (similar to the existing deletion tracking)
- Update WaitTask to ignore skipped deletions and applies
Metadata
Metadata
Assignees
Labels
No labels