Skip to content

Conversation

@jvstme
Copy link
Collaborator

@jvstme jvstme commented Jan 14, 2026

In apply plans and dstack offer, display the NO_BALANCE availability as no balance rather than an empty string.

Small related changes:

  • Refactor availability formatting so that it is consistent across run plans, fleet plans, and dstack offer. In fleet plans, availabilities are now displayed in lower case (previously, this was the only place where they were capitalized).
  • In dstack offer --group-by gpu, if a GPU is unavailable due to more than one reason, display all those reasons (previously, only one of the availabilities was displayed).
  • Default to dispalying unknown availabilities rather that falling back to an empty string. This will allow new availability types added in the future to automatically become visible in the CLI.

Part of #3458

In apply plans, display the `NO_BALANCE`
availability as `no balance` rather than an empty
string.

Small related changes:
- Refactor availability formatting so that it is
  consistent across run plans, fleet plans, and
  `dstack offer`. In fleet plans, availabilities
  are now displayed in lower case (previously,
  this was the only place where they were
  capitalized).
- In `dstack offer --group-by gpu`, if a GPU is
  unavailable due to more than one reason, display
  all those reasons (previously, only one of the
  availabilities was displayed).
- Default to dispalying unknown availabilities
  rather that falling back to an empty string.
  This will allow new availability types added in
  the future to automatically become visible in
  the CLI.
@jvstme jvstme requested a review from un-def January 14, 2026 17:02
@jvstme jvstme merged commit c90cdf1 into master Jan 15, 2026
28 checks passed
@jvstme jvstme deleted the issue_3458_no_balance_cli branch January 15, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants