Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dstack/_internal/cli/services/presets/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ready": ("verified", "grey"),
"running": ("trialing", "bold sea_green3"),
"verifying": ("verifying", "bold deep_sky_blue1"),
"interrupted": ("interrupted", "bold gold1"),
"interrupted": ("interrupted", "secondary"),
"failed": ("failed", "indian_red1"),
}

Expand Down
4 changes: 2 additions & 2 deletions src/tests/_internal/cli/services/presets/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ def test_shows_zero_progress_without_benchmark(self):
def test_omits_progress_without_trials_data(self):
row = _session_row({"id": "ab12cd34", "status": "interrupted"})

assert row["STATUS"] == "[bold gold1]interrupted[/]"
assert row["STATUS"] == "[secondary]interrupted[/]"

def test_counts_without_trials_num(self):
row = _session_row({"id": "ab12cd34", "status": "interrupted", "trials": {"count": 2}})

assert row["STATUS"] == "[bold gold1]interrupted[/] [secondary](2)[/]"
assert row["STATUS"] == "[secondary]interrupted[/] [secondary](2)[/]"


class TestOrdering:
Expand Down
Loading