Skip to main content

CombinedOutput

Type Alias CombinedOutput 

Source
pub type CombinedOutput = CombinedOutput<CheckOutput, DupesReportPayload, HealthReport>;
Expand description

Concrete combined check + dupes + health envelope for full analyses.

Aliased Type§

pub struct CombinedOutput {
    pub schema_version: SchemaVersion,
    pub version: ToolVersion,
    pub elapsed_ms: ElapsedMs,
    pub gate_outcomes: Option<GateOutcomes>,
    pub request_outcomes: Option<RequestOutcomes>,
    pub meta: Option<CombinedMeta>,
    pub check: Option<CheckOutput>,
    pub dupes: Option<DupesReportPayload>,
    pub health: Option<HealthReport>,
    pub workspace_diagnostics: Vec<WorkspaceDiagnostic>,
    pub next_steps: Vec<NextStep>,
}

Fields§

§schema_version: SchemaVersion

Combined output schema version.

§version: ToolVersion

Fallow CLI version that produced this output.

§elapsed_ms: ElapsedMs

Wall-clock analysis duration in milliseconds.

§gate_outcomes: Option<GateOutcomes>

Every gate this run ARMED, keyed by name, absent when it armed none. Each entry is the same rule that decides the exit code, so a CI integration reads the verdict instead of guessing from a process status it usually cannot see. A gate fails the build when status is fail AND enforced is true. Armed, not evaluated: fallow’s default severity rules fail a run with no flag at all, so an absent object means “no gate was asked for”, never “nothing failed”. See [crate::GateOutcomes].

§request_outcomes: Option<RequestOutcomes>

Every narrowing or shaping request this run RECEIVED, keyed by name, absent when it was asked for nothing. An entry whose status is not applied means the run could not do what it was asked and reported something WIDER instead, so what follows is a valid report of a scope nobody requested. Honoured requests are published too, with status: "applied", so an absent object means “nothing was asked for”, never “nothing failed”. See [crate::RequestOutcomes].

§meta: Option<CombinedMeta>

Per-section _meta blocks, when --explain was passed.

§check: Option<CheckOutput>

Dead-code section of the combined run.

§dupes: Option<DupesReportPayload>

Duplication section of the combined run.

§health: Option<HealthReport>

Health section of the combined run.

§workspace_diagnostics: Vec<WorkspaceDiagnostic>

Workspace-discovery, source-discovery, and analysis-stage diagnostics for the run (issue #2366). See CheckOutput::workspace_diagnostics for the full contract: root-relative paths, omitted when empty. The combined envelope carries them here rather than inside a section, so a run that skips a section (--skip check, --only health, --only dupes) still reports every diagnostic its analyses recorded.

§next_steps: Vec<NextStep>

Read-only follow-up commands aggregated across the combined run’s findings. See CheckOutput::next_steps for the contract.