Skip to main content

origin_attachments

Function origin_attachments 

Source
pub async fn origin_attachments(
    session: &Session,
    base: &str,
    timeout: Duration,
) -> Result<Vec<OriginAttachment>>
Expand description

Join the admin space’s declared liveliness tokens against the keyspace: which origin hangs off which session (#131).

One @/*/*/token/** sweep; each token whose keyexpr parses under base as an alive leaf yields an attachment. The session zid is taken from the token’s sources only when they name exactly one — several candidates or none degrade to reporter-only, stated rather than guessed. An empty result means the admin space served no tokens (or none parse under this base) — an observation, not an empty fleet (O4).