Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Top-level pipeline trait + default implementation.

Most consumers want crate::Parser instead — it wraps DefaultPipeline + crate::exporter::ParquetExporter behind one builder. The trait here is the seam that lets tests swap a stub in.

Pipeline::run is the single entry point downstream crates (the CLI, the future server) call. Phase 1 defined the trait skeleton; Phase 9 lands the DefaultPipeline implementation wiring discovery → loader → projection → terragrunt → evaluator → graph → provider into a single Workspace.

The exporter is intentionally not part of the pipeline: callers may consume the IR directly (the future server) or hand it to the crate::exporter::ParquetExporter (today’s CLI). Phase 9 keeps that boundary so a downstream test can drive the same pipeline without touching disk for output.

Per 61-crates-and-features.md § 3.1 and 91-impl-plan.md § 8/§ 11.

Structs§

DefaultPipeline
Default pipeline implementation per spec 91 § 12.
PipelineOptions
Options for Pipeline::run.

Traits§

Pipeline
Top-level pipeline trait.