Skip to main content

hydrate_reused_identity_admission

Function hydrate_reused_identity_admission 

Source
fn hydrate_reused_identity_admission(
    store: &AtlasStore,
    project: ProjectInstanceId,
    reused_paths: &BTreeSet<String>,
    graphs: &[impl Borrow<SymbolGraph>],
    report: &mut GraphIdentityAdmission,
    control: &IndexWorkControl,
) -> Result<(), CliError>
Expand description

Carry current-generation rejection state for graphs safely reused by a stage.

A publication replaces graph and rejection rows for its selected paths. Reused sanitized graphs no longer contain rejected parser values, so the persisted typed facts and total path coverage are hydrated before normal admission re-derives current key, Markdown, and derived facts. The detail count is retained separately to reconcile those two observations exactly.