acoustic-carpenter-78188
04/03/2026, 4:51 AMJobDeploymentStatusFailed handler from PhaseInfoFailure to PhaseInfoSystemRetryableFailureWithCleanup so failed Ray jobs are retried
• Added TestBuildResourceRayMissingPrimaryContainer - validates error when primary container is missing from pod spec
• Added TestGetTaskPhaseFailedRetryable - validates retryable failure phase with reason/message propagation
• Updated TestGetTaskPhase to expect PhaseRetryableFailure for failed deployments
How was this patch tested?
Unit tests added and all existing tests pass:
go test ./go/tasks/plugins/k8s/ray/ -count=1
Labels
• changed: Ray job failure handling changed to retryable
• added: New unit tests
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
flyteorg/flyteacoustic-carpenter-78188
04/03/2026, 6:57 AM