Исключение ложного переподключения к выведенному K1

This commit is contained in:
DCCONSTRUCTIONS
2026-08-23 14:12:57 +03:00
parent 6e7428a116
commit 03830cd15e
2 changed files with 129 additions and 2 deletions
@@ -33782,6 +33782,15 @@ def _connection_policy_projection(
durable_observation_reasons.append("resolved-apply-durable-target-mismatch")
if not durable_observation_ref or durable_observation_mode is None:
durable_observation_reasons.append("durable-recovery-target-unavailable")
if transport_is_retired(durable_observation_ref):
# A resolved Apply plus matching semantic topology is normally enough
# to offer the saved LAN/Quick reconnect. An operator retirement is a
# newer physical boundary, though: verify_connection rejects that same
# UUID before creating an operation or touching the host network. Do
# not publish a button whose exact server request is guaranteed to be
# rejected. The explicit fresh Scan/reopen flow remains the only path
# that can re-admit this physical target.
durable_observation_reasons.append("physical-command-target-retired")
if (
transport_is_eligible_fresh(durable_observation_ref)
and resolved_apply_durable_target is None