Skip to main content

record_combined_run

Function record_combined_run 

Source
pub fn record_combined_run(
    root: &Path,
    counts: ImpactCounts,
    git_sha: Option<&str>,
    version: &str,
    timestamp: &str,
    attribution: Option<&AttributionInput<'_>>,
)
Expand description

Record a whole-project combined run into the project track. No-op when tracking is disabled or the store cannot be read. Best-effort throughout; never returns an error and never affects the command’s exit code or output.

Unlike record_audit_run this appends to project_records (not records) and derives no containment (the pre-commit gate is audit-only). attribution drives v1.5 resolved/suppressed credit with Scope::WholeProject, so a duplication or whole-repo cleanup verified outside a changed-file audit is credited on the next full fallow run.