Skip to content

Implement multisite-switchover CTL command #65

Implement multisite-switchover CTL command

Implement multisite-switchover CTL command #65

Triggered via pull request March 27, 2025 05:39
@avandrasavandras
synchronize #5
ctl-switchover
Status Failure
Total duration 14m 31s
Artifacts

tests.yaml

on: pull_request
Matrix: behave
Matrix: unit
pyright
27s
pyright
Test compatibility with the latest version of ydiff
20s
Test compatibility with the latest version of ydiff
docs
2m 36s
docs
isort
20s
isort
Finalize Codacy
0s
Finalize Codacy
Matrix: post-unit-coverage
Finalize coveralls.io
0s
Finalize coveralls.io
Fit to window
Zoom out
Zoom in

Annotations

36 errors
isort: patroni/multisite.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_api.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_raft.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_exhibitor.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_rewind.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_patroni.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_cancellable.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_config.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_kubernetes.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_postmaster.py#L1
Imports are incorrectly sorted and/or formatted.
Test compatibility with the latest version of ydiff
Process completed with exit code 1.
pyright: patroni/api.py#L678
Type of "site_switches" is partially unknown   Type of "site_switches" is "Unknown | None" (reportUnknownMemberType)
pyright: patroni/api.py#L678
Argument type is partially unknown   Argument corresponds to parameter "args" in function "format"   Argument type is "Unknown | None" (reportUnknownArgumentType)
pyright: patroni/api.py#L678
Cannot access attribute "site_switches" for class "SingleSiteController"   Attribute "site_switches" is unknown (reportAttributeAccessIssue)
pyright: patroni/api.py#L1196
Return type, "Unknown | None", is partially unknown (reportUnknownParameterType)
pyright: patroni/api.py#L1202
Type of "_write_response" is unknown (reportUnknownMemberType)
pyright: patroni/api.py#L1202
Return type is unknown (reportUnknownVariableType)
pyright: patroni/api.py#L1202
Cannot access attribute "_write_response" for class "RestApiHandler*"   Attribute "_write_response" is unknown (reportAttributeAccessIssue)
pyright: patroni/api.py#L1209
Type of "dcs" is partially unknown   Type of "dcs" is "AbstractDCS | Unknown" (reportUnknownMemberType)
pyright: patroni/api.py#L1209
Type of "manual_failover" is partially unknown   Type of "manual_failover" is "((leader: str | None, candidate: str | None, scheduled_at: datetime | None = None, target_site: str | None = None, version: Any | None = None) -> bool) | Unknown" (reportUnknownMemberType)
pyright: patroni/api.py#L1209
Cannot access attribute "dcs" for class "SingleSiteController"   Attribute "dcs" is unknown (reportAttributeAccessIssue)
unit (macos-latest, 3.11)
Process completed with exit code 1.
unit (ubuntu-latest, 3.11)
Process completed with exit code 1.
unit (ubuntu-latest, 3.9)
Process completed with exit code 1.
unit (ubuntu-latest, 3.10)
Process completed with exit code 1.
unit (ubuntu-latest, 3.8)
Process completed with exit code 1.
unit (ubuntu-22.04, 3.7)
Process completed with exit code 1.
unit (macos-latest, 3.9)
Process completed with exit code 1.
unit (macos-latest, 3.10)
Process completed with exit code 1.
unit (macos-latest, 3.8)
Process completed with exit code 1.
unit (macos-latest, 3.8)
[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-latest, 3.10)
Process completed with exit code 1.
unit (windows-latest, 3.9)
Process completed with exit code 1.
unit (windows-latest, 3.8)
Process completed with exit code 1.
unit (windows-latest, 3.11)
Process completed with exit code 1.
unit (windows-latest, 3.7)
Process completed with exit code 1.