Skip to content

Add replica groups in dstack-service #6049

Add replica groups in dstack-service

Add replica groups in dstack-service #6049

Triggered via pull request December 23, 2025 09:29
Status Failure
Total duration 2m 39s
Artifacts 6

build.yml

on: pull_request
compute-version
2s
compute-version
build-docs  /  build-docs
build-docs / build-docs
build-artifacts  /  code-lint
44s
build-artifacts / code-lint
build-artifacts  /  frontend-build
9s
build-artifacts / frontend-build
Matrix: build-artifacts / runner-test
build-artifacts  /  gateway-build
14s
build-artifacts / gateway-build
build-artifacts  /  generate-json-schema
18s
build-artifacts / generate-json-schema
Matrix: build-artifacts / python-test
build-artifacts  /  python-build
20s
build-artifacts / python-build
Matrix: build-artifacts / runner-compile
upload-post-pypi-artifacts  /  upload-post-pypi-artifacts
upload-post-pypi-artifacts / upload-post-pypi-artifacts
upload-pre-pypi-artifacts  /  upload-pre-pypi-artifacts
upload-pre-pypi-artifacts / upload-pre-pypi-artifacts
Fit to window
Zoom out
Zoom in

Annotations

65 errors
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/services/runs/spec.py#L93
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/services/runs/spec.py#L93
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/services/runs/__init__.py#L523
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/services/runs/__init__.py#L523
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/background/tasks/process_runs.py#L481
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/background/tasks/process_runs.py#L478
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[Unknown] | None" in function "_update_jobs_to_new_deployment_in_place"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[Unknown] | None"     Type "int" is not assignable to type "List[Unknown] | None"       "int" is not assignable to "List[Unknown]"       "int" is not assignable to "None" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/background/tasks/process_runs.py#L471
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/background/tasks/process_runs.py#L223
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/background/tasks/process_runs.py#L202
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.12): src/dstack/_internal/server/background/tasks/process_runs.py#L202
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.11)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (ubuntu-latest, 3.11)
The operation was canceled.
build-artifacts / python-test (ubuntu-latest, 3.13)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/services/runs/spec.py#L93
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/services/runs/spec.py#L93
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/services/runs/__init__.py#L523
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/services/runs/__init__.py#L523
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/background/tasks/process_runs.py#L481
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/background/tasks/process_runs.py#L478
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[Unknown] | None" in function "_update_jobs_to_new_deployment_in_place"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[Unknown] | None"     Type "int" is not assignable to type "List[Unknown] | None"       "int" is not assignable to "List[Unknown]"       "int" is not assignable to "None" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/background/tasks/process_runs.py#L471
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/background/tasks/process_runs.py#L223
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/background/tasks/process_runs.py#L202
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.13): src/dstack/_internal/server/background/tasks/process_runs.py#L202
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.10)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/services/runs/spec.py#L93
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/services/runs/spec.py#L93
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/services/runs/__init__.py#L523
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/services/runs/__init__.py#L523
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/background/tasks/process_runs.py#L481
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/background/tasks/process_runs.py#L478
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[Unknown] | None" in function "_update_jobs_to_new_deployment_in_place"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[Unknown] | None"     Type "int" is not assignable to type "List[Unknown] | None"       "int" is not assignable to "List[Unknown]"       "int" is not assignable to "None" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/background/tasks/process_runs.py#L471
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/background/tasks/process_runs.py#L223
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/background/tasks/process_runs.py#L202
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.10): src/dstack/_internal/server/background/tasks/process_runs.py#L202
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.9)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/services/runs/spec.py#L93
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/services/runs/spec.py#L93
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/services/runs/__init__.py#L523
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/services/runs/__init__.py#L523
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/background/tasks/process_runs.py#L481
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/background/tasks/process_runs.py#L478
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[Unknown] | None" in function "_update_jobs_to_new_deployment_in_place"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[Unknown] | None"     Type "int" is not assignable to type "List[Unknown] | None"       "int" is not assignable to "List[Unknown]"       "int" is not assignable to "None" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/background/tasks/process_runs.py#L471
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/background/tasks/process_runs.py#L223
Argument of type "Range[int] | list[ReplicaGroup] | int | str" cannot be assigned to parameter "replicas" of type "List[ReplicaGroup]" in function "scale_run_replicas_per_group"   Type "Range[int] | list[ReplicaGroup] | int | str" is not assignable to type "List[ReplicaGroup]"     "int" is not assignable to "List[ReplicaGroup]" (reportArgumentType)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/background/tasks/process_runs.py#L202
"int" is not iterable   "__iter__" method not defined (reportGeneralTypeIssues)
build-artifacts / python-test (ubuntu-latest, 3.9): src/dstack/_internal/server/background/tasks/process_runs.py#L202
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
build-artifacts / python-test (windows-latest, 3.13)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (windows-latest, 3.13)
The operation was canceled.
build-artifacts / python-test (windows-latest, 3.11)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (windows-latest, 3.11)
The operation was canceled.
build-artifacts / python-test (windows-latest, 3.12)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (windows-latest, 3.12)
The operation was canceled.
build-artifacts / python-test (windows-latest, 3.9)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (windows-latest, 3.9)
The operation was canceled.
build-artifacts / python-test (windows-latest, 3.10)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (windows-latest, 3.10)
The operation was canceled.
build-artifacts / python-test (macos-latest, 3.11)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (macos-latest, 3.11)
The operation was canceled.
build-artifacts / python-test (macos-latest, 3.13)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (macos-latest, 3.13)
The operation was canceled.
build-artifacts / python-test (macos-latest, 3.9)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (macos-latest, 3.9)
The operation was canceled.
build-artifacts / python-test (macos-latest, 3.12)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (macos-latest, 3.12)
The operation was canceled.
build-artifacts / python-test (macos-latest, 3.10)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_12" failed
build-artifacts / python-test (macos-latest, 3.10)
The operation was canceled.

Artifacts

Produced during runtime
Name Size Digest
dstack-gateway Expired
3.15 KB
sha256:f119689763bdc2972e7ddd838409567ad27e425ac4966e30eb14b18f9edb3b24
dstack-runner-linux-amd64 Expired
18.7 MB
sha256:b1951da21dc318a360c2fe3139bbce4493eb833b9740cc92b7aaa17cd1ff7592
dstack-runner-linux-arm64 Expired
17.1 MB
sha256:f5c3b51665769f0066385ff6f7b68461a3fc8cbaa17ff184644fbd72d96aafcc
frontend-build Expired
14.5 MB
sha256:dc44054cd7bcbbe9846ec0ab80bddef5a8f1c7e79a414db658fe09829b6178a6
json-schemas Expired
13.5 KB
sha256:a811e0aa9d0a76307bbdca37e0b5b13991f3ee35919a7bb3774ff0501f5054f1
python-build Expired
59.8 MB
sha256:4f2dc962a16dd8b96409d581dfcd25a6011e4cc02d63e5d0ef4365acad9a4772