drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias FleetSummary

    the rollups a control plane opens with, plus the names of stale and unhealthy sites

    type FleetSummary = {
        byCms: VersionShare[];
        byCoreVersion: VersionShare[];
        byHealth: VersionShare[];
        byPackGeneration: VersionShare[];
        bySchemaVersion: VersionShare[];
        byTier: VersionShare[];
        sites: number;
        stale: string[];
        unhealthy: string[];
    }
    Index
    byCms: VersionShare[]
    byCoreVersion: VersionShare[]
    byHealth: VersionShare[]

    Rollups so the control plane need not derive them from every row.

    bySchemaVersion says whether the fields about to be read can be trusted: a consumer that assumes one shape mid-rollout reads the other version's defaults as data.

    byPackGeneration: VersionShare[]
    bySchemaVersion: VersionShare[]
    byTier: VersionShare[]
    sites: number
    stale: string[]

    sites whose last report is older than the heartbeat, so their state is not current

    unhealthy: string[]

    sites the inventory believes are unwell, named rather than counted