<#6452 Update `DemystifyFailure` to respect `NodeS...
# flyte-github
c
#6452 Update
DemystifyFailure
to respect
NodeShutdown
(#724)
Pull request opened by hamersaw ## Tracking issue N/A ## Why are the changes needed?
NodeShutdown
observed in more rare cases where GCP preempts nodes. Update
DemystifyFailure
to respect
NodeShutdown
reason and count it as retryable system error. ## What changes were proposed in this pull request? ^^^ ## How was this patch tested? local and cloud deployment ### Labels • fixed: For any bug fixed. ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link ### Summary by Bito This pull request enhances node preemption handling in the Flyte plugin by adding 'NodeShutdown' as a retryable system error. It updates the logic in the
DemystifyFailure
function and includes test cases to validate the new behavior, improving robustness against GCP node preemptions. Unit tests added: True Estimated effort to review (1-5, lower is better): 2 - The changes are straightforward and well-documented, making the review process relatively quick. flyteorg/flyte