Skip to content

Commit a84cea5

Browse files
[UX] Make "No fleets" run status more explicit #3405
Review
1 parent cd8f73a commit a84cea5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dstack/_internal/server/background/tasks/process_submitted_jobs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ async def _process_submitted_job(
349349
job_model.termination_reason = (
350350
JobTerminationReason.FAILED_TO_START_DUE_TO_NO_CAPACITY
351351
)
352+
# Note: `_get_job_status_message` relies on the "No fleet found" substring to return "no fleets"
352353
job_model.termination_reason_message = (
353354
"No fleet found. Create it before submitting a run: "
354355
"https://dstack.ai/docs/concepts/fleets"

0 commit comments

Comments
 (0)