#4297 [fix] #4198 : Introduce PhaseInfoFailureWithCleanup for Handling Non-Recoverable Pod States
Pull request opened by
adarsh-jha-dev
Tracking issue
Closes
#4198
Describe your changes
• Added a new method PhaseInfoFailureWithCleanup in the PodSetup package to handle non-recoverable pod states.
• Modified the existing DemystifyFailure function to utilize the new PhaseInfoFailureWithCleanup method when non-recoverable pod states are encountered. This ensures that such pods are marked as failed and cleaned up properly.
Check all the applicable boxes
☐ I updated the documentation accordingly.
☑︎ All new and existing tests passed.
☑︎ All commits are signed-off.
Screenshots
N/A
Note to reviewers
Please review this PR and provide feedback on whether it effectively addresses the issue mentioned in the context.
flyteorg/flyte
✅ All checks have passed
2/2 successful checks