Fix typing issues and add pyright to CI #5323
build.yml
on: pull_request
compute-version
4s
build-docs
/
build-docs
2m 45s
Matrix: build-artifacts / runner-test
Matrix: build-artifacts / python-test
Matrix: build-artifacts / runner-compile
upload-post-pypi-artifacts
/
upload-post-pypi-artifacts
upload-pre-pypi-artifacts
/
upload-pre-pypi-artifacts
Annotations
46 errors and 11 notices
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L347
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L302
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L232
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L197
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L129
Argument of type "float | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"
Type "float | None" is not assignable to type "float"
"None" is not assignable to "float" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L128
Argument of type "float | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@min" in function "min"
Type "float | None" is not assignable to type "float"
"None" is not assignable to "float" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L126
Argument of type "int | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L125
Argument of type "int | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@min" in function "min"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L123
Argument of type "str" cannot be assigned to parameter "object" of type "BackendType" in function "append"
"str" is not assignable to "BackendType" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.10):
src/dstack/_internal/server/services/gpus.py#L106
Argument of type "str" cannot be assigned to parameter "backend_type" of type "BackendType" in function "__init__"
"str" is not assignable to "BackendType" (reportArgumentType)
|
|
build-artifacts / python-test (macos-latest, 3.13)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_10" failed
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L347
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L302
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L232
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L197
"value" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L129
Argument of type "float | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"
Type "float | None" is not assignable to type "float"
"None" is not assignable to "float" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L128
Argument of type "float | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@min" in function "min"
Type "float | None" is not assignable to type "float"
"None" is not assignable to "float" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L126
Argument of type "int | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@max" in function "max"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L125
Argument of type "int | None" cannot be assigned to parameter "arg1" of type "SupportsRichComparisonT@min" in function "min"
Type "int | None" is not assignable to type "int"
"None" is not assignable to "int" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L123
Argument of type "str" cannot be assigned to parameter "object" of type "BackendType" in function "append"
"str" is not assignable to "BackendType" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9):
src/dstack/_internal/server/services/gpus.py#L106
Argument of type "str" cannot be assigned to parameter "backend_type" of type "BackendType" in function "__init__"
"str" is not assignable to "BackendType" (reportArgumentType)
|
|
build-artifacts / python-test (ubuntu-latest, 3.9)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_10" failed
|
|
build-artifacts / python-test (ubuntu-latest, 3.12)
The operation was canceled.
|
|
build-artifacts / python-test (ubuntu-latest, 3.12)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_10" failed
|
|
build-artifacts / python-test (ubuntu-latest, 3.11)
The operation was canceled.
|
|
build-artifacts / python-test (ubuntu-latest, 3.11)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_10" failed
|
|
build-artifacts / python-test (windows-latest, 3.9)
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_10" failed
|
|
build-artifacts / python-test (windows-latest, 3.12)
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_10" failed
|
|
build-artifacts / python-test (windows-latest, 3.11)
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_10" failed
|
|
build-artifacts / python-test (windows-latest, 3.10)
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_10" failed
|
|
build-artifacts / python-test (windows-latest, 3.13)
The operation was canceled.
|
|
build-artifacts / python-test (windows-latest, 3.13)
The strategy configuration was canceled because "build-artifacts.python-test.ubuntu-latest_3_10" failed
|
|
build-artifacts / python-test (macos-latest, 3.12)
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_10" failed
|
|
build-artifacts / python-test (ubuntu-latest, 3.13)
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_10" failed
|
|
build-artifacts / python-test (macos-latest, 3.11)
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_10" failed
|
|
build-artifacts / python-test (macos-latest, 3.9)
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_10" failed
|
|
build-artifacts / python-test (macos-latest, 3.10)
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_10" failed
|
|
build-artifacts / runner-test (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build-artifacts / python-test (macos-latest, 3.13)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build-artifacts / python-test (windows-latest, 3.9)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build-artifacts / python-test (windows-latest, 3.12)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build-artifacts / python-test (windows-latest, 3.11)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build-artifacts / python-test (windows-latest, 3.10)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build-artifacts / python-test (windows-latest, 3.13)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build-artifacts / python-test (macos-latest, 3.12)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build-artifacts / python-test (macos-latest, 3.11)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build-artifacts / python-test (macos-latest, 3.9)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build-artifacts / python-test (macos-latest, 3.10)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
dstack-gateway
Expired
|
3.09 KB |
sha256:058ffa99f414c9c4afae5192a098931fe98db00e032e032bf860682a54858eb3
|
|
|
dstack-runner-linux-amd64
Expired
|
18.3 MB |
sha256:96222d5a8bb237c44fda8b1969c8286543314a7137306d3cd125b91c6ca8a9d0
|
|
|
dstack-runner-linux-arm64
Expired
|
17.1 MB |
sha256:bfbe13e9e4452d62ba1f81ba07a78bd4269a8728df3f11aac87aebfa51e92bf9
|
|
|
frontend-build
Expired
|
14.2 MB |
sha256:07dafaeb211f19adc9de30a9aefac5602dfa04aa36f189b780ae870ec8b7f2e1
|
|
|
json-schemas
Expired
|
12.5 KB |
sha256:ffbb933b70aca98fdd3de5865271ded95d39aab9634c5b912b22b2d841e35384
|
|
|
python-build
Expired
|
58.9 MB |
sha256:b7602ec921286f765d0db5d0f71652a008ba7027af0dd0f7346f9f1711bb358b
|
|
|
site
Expired
|
47.1 MB |
sha256:95fa8b6c332cc817de6f4038c59fb9604a99f5cba08181b0c24d27c64ba95ee5
|
|