Skip to main content

skip_cloud_subscriber

Function skip_cloud_subscriber 

Source
fn skip_cloud_subscriber(
    reason: IsolatedMuxbusReconnectReason,
    own_sign_in: bool,
) -> bool
Expand description

Should the boot-time MuxBus reconnect be skipped on this channel?

The macOS default isolation (ChannelDefaultIsolated) exists so a never-before-seen local build doesn’t read a keychain entry that prompts for its signature. A channel signs in to MuxBus on its own (muxbus:channel:<ch>, never the host-wide set), so a channel with no sign-in of its own has nothing to read and stays skipped; one that has its own reconnects, as on Windows and Linux. Otherwise an in-app upgrade (the same channel, a new version) came back signed out on every version (starpower, 0.60.6). An explicit AGENTMUX_ISOLATED_MUXBUS=1 still skips.