Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dstackai/dstack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.21.4
Choose a base ref
...
head repository: dstackai/dstack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.21.5
Choose a head ref
  • 1 commit
  • 2 files changed
  • 2 contributors

Commits on Sep 3, 2026

  1. [CLI] Exclude unset service groups from requests (#4256)

    `ServiceConfigurationParams.groups` was added in 0.21.3 (#4177) along
    with a model serializer that popped `groups` from every dump and
    re-emitted it as the legacy `replicas: [{count: ...}]` shape. Living on
    the model, it applied in both directions, so a 0.21.3 client never put
    `groups` on the wire.
    
    PR #4248 removed that serializer in favor of a server-side patch gated
    on `client_version < 0.21.3`. That covers server -> old client, but
    nothing replaced client -> old server, so 0.21.4 clients always send
    `configuration.groups` and servers before 0.21.3 reject it as an extra
    field.
    
    Exclude service `groups` when unset, as already done for
    `TaskConfiguration.groups`. This covers all three client paths that send
    a `run_spec`: `get_plan`, `apply`, and `gpus/list`.
    
    Fixes: #4255
    
    Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
    un-def and claude authored Sep 3, 2026
    Configuration menu
    Copy the full SHA
    bb1dc7e View commit details
    Browse the repository at this point in the history
Loading