File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/dstack/_internal/core/compatibility Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ def get_apply_plan_excludes(plan: ApplyRunPlanInput) -> Optional[IncludeExcludeD
5353 }
5454 if all (js .exit_status is None for js in job_submissions ):
5555 job_submissions_excludes ["exit_status" ] = True
56+ if all (js .status_message == "" for js in job_submissions ):
57+ job_submissions_excludes ["status_message" ] = True
58+ if all (js .error is None for js in job_submissions ):
59+ job_submissions_excludes ["error" ] = True
5660 if all (js .deployment_num == 0 for js in job_submissions ):
5761 job_submissions_excludes ["deployment_num" ] = True
5862 if all (not js .probes for js in job_submissions ):
@@ -71,6 +75,10 @@ def get_apply_plan_excludes(plan: ApplyRunPlanInput) -> Optional[IncludeExcludeD
7175 }
7276 if latest_job_submission .exit_status is None :
7377 latest_job_submission_excludes ["exit_status" ] = True
78+ if latest_job_submission .status_message == "" :
79+ latest_job_submission_excludes ["status_message" ] = True
80+ if latest_job_submission .error is None :
81+ latest_job_submission_excludes ["error" ] = True
7482 if latest_job_submission .deployment_num == 0 :
7583 latest_job_submission_excludes ["deployment_num" ] = True
7684 if not latest_job_submission .probes :
You can’t perform that action at this time.
0 commit comments