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.19.18
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.19.19
Choose a head ref
  • 20 commits
  • 116 files changed
  • 8 contributors

Commits on Jul 9, 2025

  1. Configuration menu
    Copy the full SHA
    db55a99 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2025

  1. Introduce job_submissions_limit and include_jobs parameters for /api/…

    …runs/list (#2883)
    
    * Introduce job_submissions_limit for /api/runs/list
    
    * Test job_submissions_limit
    
    * Use "job_submissions_limit": 1 in the UI
    
    * Add include_jobs filter
    
    * Fix typo
    r4victor authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    ab5dfbf View commit details
    Browse the repository at this point in the history
  2. Speed up json serialization with orjson and custom FastAPI responses (#…

    …2880)
    
    * Use orjson
    
    * Use CustomORJSONResponse for runs API
    
    * refactor: wrap fleet API responses with CustomORJSONResponse
    
    * feat: add response_model to decorators and remove return type annotations
    
    Co-authored-by: aider (bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0) <aider@aider.chat>
    
    * refactor: Consistently use CustomORJSONResponse and response_model in router files
    
    Co-authored-by: aider (bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0) <aider@aider.chat>
    
    * Replace validators with dict() for serialization tweaks
    
    * Fix linting
    
    * Fix asyncpg.pgproto.pgproto.UUID serialization
    
    * Fix extra import
    
    * Use orjson with indentation for json schema
    
    * Fix generate-json-schema CI
    
    * Fix import
    
    ---------
    
    Co-authored-by: aider (bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0) <aider@aider.chat>
    r4victor and aider-chat-bot authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    3d3dfd0 View commit details
    Browse the repository at this point in the history
  3. [Docs]: Service rolling deployments (#2870)

    Co-authored-by: peterschmidt85 <andrey.cheptsov@gmail.com>
    jvstme and peterschmidt85 authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    6c08019 View commit details
    Browse the repository at this point in the history
  4. Do not lose provisioning gateways on restart (#2887)

    - Split processing `submitted` and `provisioning`
      gateways into two processing iterations, so that
      gateways in the `provisioning` status are not
      lost on server restarts.
    - Decrease the number of gateway configuration
      attempts during server startup. 50 attempts are
      only necessary when processing a provisioning
      gateway.
    - Make gateway processing logging more
      comprehensive and consistent.
    jvstme authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    a8ee724 View commit details
    Browse the repository at this point in the history
  5. Add/remove SSH instances via in-place update (#2884)

    It's now possible to add/remove instances to/from SSH fleets applying
    the fleet configuration with adjusted `ssh_config.hosts`.
    
    Currently, the old and the new configurations must be equal except for
    the `identity_file` fields (ignored) and the order of hosts in
    the `ssh.config` list (but each host must remain the same or
    be removed).
    
    Closes: #2645
    un-def authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    034ae29 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    28a1cda View commit details
    Browse the repository at this point in the history
  7. [Blog] Added new changelog (#2891)

    * Added a new Changelog post
    * Refactored blog categories: Releases -> Changelog; updated the top menu
    * Updated README
    peterschmidt85 authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    82e4a80 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2025

  1. Configuration menu
    Copy the full SHA
    86c4048 View commit details
    Browse the repository at this point in the history
  2. Fix run and job status_message calculation (#2889)

    * Fix run and job status_message calculation
    
    * Comment no_error_reasons
    r4victor authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    4b3ff66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7143e4 View commit details
    Browse the repository at this point in the history
  4. Rolling deployments for port (#2893)

    Allow changing the `port` service configuration
    property using rolling deployments. Implemented by
    moving `port` to the job spec.
    jvstme authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    da5c0cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c9a9d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2025

  1. [Feature]: Add ability to disable background processing and only run …

    …Web UI and API server #2901 (#2902)
    
    * add server setting
    
    * add logic to disable background processing
    
    * update docs for new setting
    
    * Rename to DSTACK_SERVER_BACKGROUND_PROCESSING_DISABLED
    
    ---------
    
    Co-authored-by: Victor Skvortsov <vds003@gmail.com>
    james-boydell and r4victor authored Jul 15, 2025
    Configuration menu
    Copy the full SHA
    1602c80 View commit details
    Browse the repository at this point in the history
  2. [shim] Don't check image downloaded size (#2903)

    Sometimes dockerd emits less "Download complete" messages than
    expected, but the image is pulled successfully.
    The reason is unclear, but, anyway, this check is redundant since
    we also rely on the status message, which is emitted only
    in the case of succesfull pull.
    
    In addition, this patch adds/changes the following:
    
    * Write dockerd pull stream (JSON Lines) to {runnerDir}/pull.log —
      useful for debugging (in conjunction with
      DSTACK_SERVER_KEEP_SHIM_TASKS=1)
    * Use `errorDetail.message` instead of deprecated `error`
    * Move `ctx.Err()` check upper, otherwise it's shadowed by pull errors
    
    Fixes: #2503
    un-def authored Jul 15, 2025
    Configuration menu
    Copy the full SHA
    e3b292d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c96dc62 View commit details
    Browse the repository at this point in the history
  4. feat: add volume idle duration cleanup feature (#2497) (#2842)

    * feat: add volume idle duration cleanup feature (#2497)
    
    * fix: avoid FOR UPDATE with outer join in process_idle_volumes (Postgres compatibility)
    
    * Fix formatting issues
    
    * Optimize idle volume cleanup implementation
    
    * Removed unnecessary changes and refactor implementations
    
    * Removed unnecessary changes and refactor implementations
    
    * Fix volume auto-cleanup locking and mocking issues
    
    * feat: add merge migration for volume cleanup and secrets
    
    * fix: remove accidentally committed test files with non-existent imports
    
    * fix: add missing dialect_name parameter to get_locker call
    
    * fix: address code review comments
    
    * fix: actually delete volumes from cloud providers
    
    * Remove redundant code changes
    
    * Remove accidentally committed local config file
    
    * Fix MissingGreenlet error in process_idle_volumes
    
    * Add validation for external volumes with auto_cleanup_duration
    
    * Remove merge migration and rebase on master
    
    * Added merge migration to resolve multiple heads
    
    * Rebase migrations
    
    * Update idle_duration type to match updated parse_idle_duration
    
    * Refactor process_idle_volumes
    
    * Refactor External volumes check
    
    * Fix client backward compatibility
    
    ---------
    
    Co-authored-by: Victor Skvortsov <vds003@gmail.com>
    haydnli-shopify and r4victor authored Jul 15, 2025
    Configuration menu
    Copy the full SHA
    0c60b1e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8a93790 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2025

  1. Fix /users/list (#2908)

    r4victor authored Jul 16, 2025
    Configuration menu
    Copy the full SHA
    97b6482 View commit details
    Browse the repository at this point in the history
  2. Return logs in base64 for backward compatibility (#2910)

    * Return logs in base64 for backward compatibility
    
    * Fix newlines in logs UI
    
    * Fix lint
    
    * Fix lint
    r4victor authored Jul 16, 2025
    Configuration menu
    Copy the full SHA
    8cf079a View commit details
    Browse the repository at this point in the history
Loading