Skip to main content

run_semantic_step

Function run_semantic_step 

Source
pub async fn run_semantic_step(
    engine: &Arc<Engine>,
    repo_id: Uuid,
    changeset_files: &[String],
    work_dir: &Path,
    filter: &[String],
) -> (StepOutput, Vec<Finding>, Vec<Suggestion>)
Expand description

Run all (or a filtered subset of) semantic checks against a changeset.

§Arguments

  • engine — the dk-engine orchestrator
  • repo_id — repository UUID
  • changeset_files — relative paths of changed files
  • work_dir — directory where changeset files are materialized
  • filter — if non-empty, only run checks whose names appear in this list

§Returns

A tuple of (StepOutput, Vec<Finding>, Vec<Suggestion>).