Skip to main content

impact_workspace_with_codegraph

Function impact_workspace_with_codegraph 

Source
pub async fn impact_workspace_with_codegraph(
    database_path: &Path,
    workspace: &str,
    request: &ImpactRequest,
    binary: Option<OsString>,
) -> Result<ToolEnvelope<ImpactReport>, ApplicationError>
Expand description

Computes impact with optional bounded, ephemeral CodeGraph local enrichment.

Provider failures, stale indexes, missing capabilities, and truncation are converted into visible coverage degradation and can never lower the federated risk.

ยงErrors

Returns ApplicationError for persisted graph failures or invalid impact inputs. CodeGraph operational failures degrade the report instead of failing the federated analysis.