acoustic-carpenter-78188
06/08/2023, 7:03 AMdask plugin creates a DaskJob k8s resource, it will initially not have the .Status.JobStatus property set.
So
flyteplugins/go/tasks/plugins/k8s/dask/dask.go
Line 316 in </flyteorg/flyteplugins/commit/de1d1d345f3bf487701b1f732b2c56f76e81e086|de1d1d3>
will return an empty string until the DaskOperator sets the status for the first time. While this period is very brief, we've seen it happening a few times.
This PR adds support for the "" state, effectively handling it the same as being queued/initializing.
Type
☑︎ Bug Fix
☐ Feature
☐ Plugin
Are all requirements met?
☐ Code completed
☐ Smoke tested
☑︎ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
flyteorg/flyteplugins
Codecov: 62.62% (-0.21%) compared to 06866ee
✅ 6 other checks have passed
6/7 successful checksacoustic-carpenter-78188
06/08/2023, 7:11 PM