pub fn should_replace_daemon(
daemon_version: &str,
own_version: &str,
source: ResolveSource,
) -> boolExpand description
Whether a version mismatch should drain and respawn the daemon.
Only the CLI upgrading itself replaces a running daemon. SDK consumers that resolved a CLI via PATH/env must never kill a healthy daemon and must never respawn in a version-mismatch thrash loop.