Skip to content

Fix patronictl site-switchover behaviour #95

Fix patronictl site-switchover behaviour

Fix patronictl site-switchover behaviour #95

Triggered via pull request June 5, 2025 14:54
Status Failure
Total duration 22m 18s
Artifacts 2

tests.yaml

on: pull_request
Matrix: behave
Matrix: unit
pyright
30s
pyright
Test compatibility with the latest version of ydiff
26s
Test compatibility with the latest version of ydiff
docs
2m 56s
docs
isort
26s
isort
Finalize Codacy
0s
Finalize Codacy
Finalize coveralls.io
0s
Finalize coveralls.io
Fit to window
Zoom out
Zoom in

Annotations

11 errors
pyright
3 errors
pyright: patroni/ha.py#L1631
Argument missing for parameter "prev_location" (reportCallIssue)
pyright: patroni/ctl.py#L409
Argument of type "tuple[str, int | None, bool | None]" cannot be assigned to parameter "key" of type "Tuple[str, int | None]" in function "__setitem__"   "tuple[str, int | None, bool | None]" is not assignable to "Tuple[str, int | None]"     Tuple size mismatch; expected 2 but received 3 (reportArgumentType)
pyright: patroni/ctl.py#L387
Argument of type "tuple[str, int | None, bool | None]" cannot be assigned to parameter "key" of type "Tuple[str, int | None]" in function "__getitem__"   "tuple[str, int | None, bool | None]" is not assignable to "Tuple[str, int | None]"     Tuple size mismatch; expected 2 but received 3 (reportArgumentType)
unit (ubuntu)
Process completed with exit code 1.
unit (macos)
Process completed with exit code 1.
unit (macos)
[notice] A new release of pip is available: 21.1.1 -> 25.0.1 [notice] To update, run: python3.8 -m pip install --upgrade pip
unit (windows)
Process completed with exit code 1.
behave (ubuntu, 3.13, etcd)
Process completed with exit code 1.
behave (macos, 3.8, raft)
Process completed with exit code 1.
behave (macos, 3.8, raft)
[notice] A new release of pip is available: 21.1.1 -> 25.0.1 [notice] To update, run: python3.8 -m pip install --upgrade pip

Artifacts

Produced during runtime
Name Size Digest
behave-macos-raft-3.8-logs Expired
41.8 KB
sha256:1e11e96d85947f53c95da4abc7e776281358a8ec26aca23492f55e4a66b3b03b
behave-ubuntu-etcd-3.13-logs Expired
28.3 KB
sha256:fc08163d98bedefd1aa2187d90efad5672a3fc8775b0c210cd48162a6bdcf202