iya-sts
    Preparing search index...
    runningOf: (
        activity: string,
    ) => { groups: string[]; id: string; startedAt: number }[] = ...

    Type Declaration

      • (activity: string): { groups: string[]; id: string; startedAt: number }[]
      • The RUNNING started activities of the ambient realm for one activity, oldest first (#1126): what post_login.dueFor() asks at every sign-in, since a running started activity turns the sign-in invitation on for its population. Each is { id, groups }, its group DNs lower-cased for comparing with the person's.

        THE COST IS AN IN-MEMORY READ, AND NO CACHE IS KEPT. started is a persisted realms.map() that is NOT on demand: every process holds the realm's rows whole and the change log brings another process's writes (a Pause answered elsewhere) within its convergence, as the job's own get() before each person already relies on. A realm keeps at most KEEP (fifty) rows, ended ones included, so this is a walk of at most fifty objects already in this process — a cache over it would be a second copy to keep in step for nothing.

        Parameters

        • activity: string

          the activity, e.g. pqc-passkey-migration

        Returns { groups: string[]; id: string; startedAt: number }[]

        the running ones, oldest first