Skip to main content

notify

Function notify 

Source
pub(super) fn notify(
    state: &AppState,
    def_id: &str,
    to_label: &str,
    blocks: &[Block],
    expired: bool,
    woken: &[String],
)
Expand description

The one-line notes for a failover that landed: to the agent’s panes, and to its lead’s first open pane. Held for each one’s next turn: neither is woken for it, and the agent’s pane is not asked to run before its account is in place. expired says the login ended, not the quota; the panes in woken get their own note that starts a turn (login_expiry), so not this one.