Skip to main content

require_publisher_roster

Function require_publisher_roster 

Source
pub fn require_publisher_roster(
    roster: &Arc<dyn DeploymentRosterSource>,
    publishers: &BTreeSet<String>,
) -> Result<()>
Expand description

Spawn-time Event publisher roster check (#1652): every name in quic.event_publishers must be carried by EXACTLY ONE live accepted state — the same unique-holder rule the runtime resolution enforces, so spawn fails loudly instead of starting with a publisher that every lookup would deny (a name with no holder is a deployment misconfiguration — typo, decommissioned service; a name with two holders is an ingested squatter beside the genuine identity). It does NOT establish provenance: a sole foreign claimant of an unheld name satisfies it exactly as it satisfies the derivation, which is the maintainer provenance-binding decision recorded in #1652 (see the module doc residual); closing that here is not possible from store data alone.