Expand description
The language-neutral report contract of the fallow command-line tools.
This crate holds the types that every fallow report shares: the JSON error document, the verdict of a gate, and the map of gate verdicts. A tool that emits a fallow report depends on this crate, so two tools cannot write a different shape for the same member.
The crate depends on no other fallow crate and on no JavaScript type. The
schema feature derives schemars::JsonSchema for each type.
The crate version follows the fallow release. The wire version is
REPORT_PROTOCOL_VERSION.
Modules§
- exit_
code - The process exit codes of the report contract.
Structs§
- Error
Output - Structured JSON error that a tool writes to stdout when
--format jsonis active and a command fails. It has nokinddiscriminator. The requirederror: truemember separates it from a success envelope, which carries akind. The error document is one of the root branches of the output schema. A consumer that passes--format jsonand sees a non-zero exit code parses this shape from stdout. - Gate
File - One file that a file-judging gate names, with the reason that the gate counted it.
- Gate
Outcome - One gate’s verdict on one run.
- Gate
Outcomes - The verdict of every gate that a run evaluated, keyed by gate name.
Enums§
- Gate
File Reason - Why a file counts for a parse gate, other than a parser error.
- Gate
Status - What a gate concluded on this run.
Constants§
- REPORT_
PROTOCOL_ VERSION - The version of the wire contract that this crate describes.