[Core feature] Introduce PhaseInfoFailureWithCleanup for non-recoverable pod states #4198
Labels
backlogged
For internal use. Reserved for contributor team workflow.
enhancement
New feature or request
exo
good first issue
Good for newcomers
Motivation: Why do you think this is important?
For non-recoverable pod states, such as
flyte/flyteplugins/go/tasks/pluginmachinery/flytek8s/pod_helper.go
Lines 516 to 520 in 97a79c0
We should introduce a
PhaseInfoFailureWithCleanup
method similar toflyte/flyteplugins/go/tasks/pluginmachinery/flytek8s/pod_helper.go
Line 525 in 97a79c0
Goal: What should the final outcome look like, ideally?
Invalid pods should result in workflow failure and be eventually cleaned up
Describe alternatives you've considered
Current implementation: leaves pod hanging indefinitely
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: